9
0
mirror of https://github.com/donlon/cloudflare-error-page.git synced 2025-12-19 14:59:28 +00:00

miscellaneous fixes

This commit is contained in:
Anthony Donlon
2025-11-21 09:30:51 +08:00
parent 91b1513f04
commit f7491f0b51
4 changed files with 3 additions and 4 deletions

View File

@@ -40,4 +40,4 @@ def render(params: dict, allow_html: bool=True, use_cdn: bool=True) -> str:
params['what_happened'] = html.escape(params.get('what_happened', ''))
params['what_can_i_do'] = html.escape(params.get('what_can_i_do', ''))
return template.render(params=params, resources_use_cdn=use_cdn)
return default_template.render(params=params, resources_use_cdn=use_cdn)