Add initial dashboard entrypoint server side rendering routes

This commit is contained in:
Johannes Zellner
2025-07-11 11:16:03 +02:00
parent 148c0d9213
commit 66d1de0821
9 changed files with 87 additions and 7 deletions
+1 -1
View File
@@ -235,7 +235,7 @@ onMounted(async () => {
features.value = result.features;
avatarUrl.value = `https://${config.value.adminFqdn}/api/v1/cloudron/avatar`;
window.document.title = result.cloudronName;
// window.document.title = result.cloudronName;
document.getElementById('favicon').href = `${API_ORIGIN}/api/v1/cloudron/avatar?ts=${Date.now()}`;
if (config.value.mandatory2FA && !profile.value.twoFactorAuthenticationEnabled) window.location.hash = `/${VIEWS.PROFILE}?setup2fa`;