V10.509 接入 Webcrumbs 同源資產代理與 writer preflight gate
All checks were successful
CD Pipeline / deploy (push) Successful in 1m8s

This commit is contained in:
OoO
2026-05-31 20:32:20 +08:00
parent 72ded9e1e5
commit 593e87b175
20 changed files with 1945 additions and 273 deletions

2
app.py
View File

@@ -62,6 +62,7 @@ from config import (
SYSTEM_VERSION,
WEBCRUMBS_BASE_URL,
WEBCRUMBS_ENABLED,
WEBCRUMBS_ASSET_UPSTREAM_URL,
WEBCRUMBS_PLUGIN_BASE_URL,
WEBCRUMBS_RUNTIME_URL,
WEBCRUMBS_RUNTIME_VERSION,
@@ -448,6 +449,7 @@ def inject_global_vars():
'runtime_url': WEBCRUMBS_RUNTIME_URL,
'runtime_version': WEBCRUMBS_RUNTIME_VERSION,
'plugin_base_url': WEBCRUMBS_PLUGIN_BASE_URL,
'asset_upstream_url': WEBCRUMBS_ASSET_UPSTREAM_URL,
},
}