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

editor/server: add meta information in user-created pages

This commit is contained in:
Anthony Donlon
2025-11-21 09:02:05 +08:00
parent 058d37bb5c
commit f2a11fc54b
6 changed files with 62 additions and 24 deletions

View File

@@ -10,7 +10,8 @@ from flask import (
redirect,
)
from . import get_common_cf_template_params, render_cf_error_page
from . import get_common_cf_template_params
from cloudflare_error_page import render as render_cf_error_page
root_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../../')
examples_dir = os.path.join(root_dir, 'examples')