mirror of
https://github.com/donlon/cloudflare-error-page.git
synced 2025-12-25 09:49:23 +00:00
editor/web: update code generator
This commit is contained in:
@@ -52,7 +52,9 @@ export interface ErrorPageParams {
|
||||
}
|
||||
|
||||
// Load EJS template
|
||||
export const baseTemplate: ejs.TemplateFunction = ejs.compile(templateString);
|
||||
export const baseTemplate: ejs.TemplateFunction = ejs.compile(templateString, {
|
||||
rmWhitespace: true
|
||||
});
|
||||
|
||||
/**
|
||||
* Generate random hex string for ray-id
|
||||
|
||||
Reference in New Issue
Block a user