9
0
mirror of https://github.com/donlon/cloudflare-error-page.git synced 2025-12-23 08:49:25 +00:00

nodejs: load template from bundled string

This commit is contained in:
Anthony Donlon
2025-12-22 23:43:07 +08:00
parent 5a5311212e
commit d9af59f14f
11 changed files with 663 additions and 218 deletions

View File

@@ -65,8 +65,3 @@ def generate_inlined_css():
if __name__ == '__main__':
generate_inlined_css()
inline_css_resource(
os.path.join(resources_folder, 'templates/error.ejs'),
os.path.join(resources_folder, 'styles/main.css'),
os.path.join(root, 'editor/web/src/template.ejs'),
)