Fixed Dashboard [deploy]

This commit is contained in:
Pascal Prießnitz
2025-12-03 00:40:43 +01:00
parent a6a1654a9a
commit 078eb47b25
2 changed files with 14 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ required.forEach((key) => {
});
const normalizeBasePath = (raw?: string) => {
if (!raw) return '';
if (!raw) return '/ucp';
const withSlash = raw.startsWith('/') ? raw : `/${raw}`;
return withSlash.replace(/\/+$/, '');
};