This commit is contained in:
Maurus Decimus
2026-07-31 15:52:36 +02:00
parent 189e270785
commit 8cab61a9c5
13 changed files with 156 additions and 72 deletions
+3
View File
@@ -16,6 +16,7 @@ import NotFound from './pages/NotFound';
import { AdminPanel } from './pages/AdminPanel.lazy';
import { ProtectedRoute } from './components/layout/ProtectedRoute';
import { getBasePath } from './lib/basePath';
import { loadLogoOnce } from './lib/logoCache';
(() => {
try {
@@ -34,6 +35,8 @@ import { getBasePath } from './lib/basePath';
document.documentElement.classList.toggle('dark', !!prefersDark);
})();
loadLogoOnce();
const basePath = getBasePath();
const router = createBrowserRouter(