sync update from LAN repo (source xuhd-new @ 61fc2949)

This commit is contained in:
gozeros committed 2026-11-17 11:29:05 +08:00
1 parent bbe365429d
commit 7951fb983a
855 files changed
+132201 -6120

No files matched your search

+12 -10
View File
@@ -77,17 +77,19 @@
</script>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script>
// Relative production assets need a directory URL. Normalize a mounted
// prefix such as /web to /web/ before the browser resolves asset URLs.
// 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.
(function () {
var path = window.location.pathname;
if (path !== "/" && !path.endsWith("/") && !/\.[^/]+$/.test(path)) {
window.history.replaceState(
window.history.state,
"",
path + "/" + window.location.search + window.location.hash,
);
}
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) {}
})();
</script>
<link rel="icon" type="image/svg+xml" href="%BASE_URL%favicon.svg" />