Add initial dashboard entrypoint server side rendering routes
This commit is contained in:
@@ -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`;
|
||||
|
||||
Reference in New Issue
Block a user