mirror of
https://github.com/donlon/cloudflare-error-page.git
synced 2025-12-23 16:59:17 +00:00
nodejs: load template from bundled string
This commit is contained in:
@@ -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'),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user