sync snapshot from LAN repo (source xuhd-new @ edb08220)

This commit is contained in:
gozeros committed 2026-11-05 11:03:21 +08:00
1 parent ea9dcff9c0
commit bbe365429d
404 files changed
+3576 -47782

No files matched your search

+10 -12
View File
@@ -77,19 +77,17 @@
</script>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script>
// Relative production assets need a directory URL. A mounted prefix such
// as /web must resolve against /web/. history.replaceState during parsing
// makes old Firefox abort the document (NS_BINDING_ABORTED) before the
// login bundle runs, so install a base URL instead of rewriting history.
// Relative production assets need a directory URL. Normalize a mounted
// prefix such as /web to /web/ before the browser resolves asset URLs.
(function () {
try {
var path = window.location.pathname;
if (path === "/" || /\/$/.test(path) || /\.[^/]+$/.test(path)) return;
if (document.querySelector("base")) return;
var base = document.createElement("base");
base.href = path + "/";
document.head.appendChild(base);
} catch (e) {}
var path = window.location.pathname;
if (path !== "/" && !path.endsWith("/") && !/\.[^/]+$/.test(path)) {
window.history.replaceState(
window.history.state,
"",
path + "/" + window.location.search + window.location.hash,
);
}
})();
</script>
<link rel="icon" type="image/svg+xml" href="%BASE_URL%favicon.svg" />