Cloudron avatar URL comes from the meta header

This commit is contained in:
Johannes Zellner
2025-11-10 12:52:32 +01:00
parent 8d3b655517
commit 5e295f9f1e
-1
View File
@@ -266,7 +266,6 @@ onMounted(async () => {
await refreshConfigAndFeatures();
avatarUrl.value = `https://${config.value.adminFqdn}/api/v1/cloudron/avatar`;
if (document.querySelector('link[rel="icon"]')) document.querySelector('link[rel="icon"]').href = `${API_ORIGIN}/api/v1/cloudron/avatar?ts=${Date.now()}`;
if (config.value.mandatory2FA && !profile.value.twoFactorAuthenticationEnabled) window.location.hash = `/${VIEWS.PROFILE}?setup2fa`;