feat(sources): admin page to add and remove git sources (TODO.md L4)
This commit is contained in:
+5
-1
@@ -111,7 +111,10 @@ def asset_version(static_dir: str | None = None) -> str:
|
||||
# Response-layer cache busting (task 02)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
#: The five known HTML pages — the ONLY paths whose body is rewritten.
|
||||
#: The known HTML pages — the ONLY paths whose body is rewritten.
|
||||
#: Phase 35 adds the admin git sources page: without this entry it
|
||||
#: would serve unversioned asset refs, which the immutable-for-a-year
|
||||
#: asset caching would pin to stale CSS after a deploy.
|
||||
HTML_PAGES: tuple[str, ...] = (
|
||||
"/",
|
||||
"/index.html",
|
||||
@@ -119,6 +122,7 @@ HTML_PAGES: tuple[str, ...] = (
|
||||
"/document.html",
|
||||
"/login.html",
|
||||
"/tuning.html",
|
||||
"/git-sources.html", # phase 35: the admin git sources page
|
||||
)
|
||||
|
||||
#: Prefix of the versioned static assets (header-only caching; the body is
|
||||
|
||||
Reference in New Issue
Block a user