diff --git a/services/api-server/src/api_server/html5.py b/services/api-server/src/api_server/html5.py index b8f37c2..41388a4 100644 --- a/services/api-server/src/api_server/html5.py +++ b/services/api-server/src/api_server/html5.py @@ -1,8 +1,11 @@ from __future__ import annotations from html import escape +from pathlib import Path from urllib.parse import quote +_HTML5_ASSETS_DIR = Path(__file__).resolve().parent / "static" / "html5" + def _page(title: str, body: str) -> str: return f""" @@ -11,14 +14,23 @@ def _page(title: str, body: str) -> str: