From a9ad6a70d667cf1bd2d602983014f1cc37e38b66 Mon Sep 17 00:00:00 2001 From: Jannik Stehle Date: Mon, 10 Nov 2025 15:45:12 +0100 Subject: [PATCH] fix: initial default favicon Uses the OpenCloud logo as default favicon until the theme favicon is loaded. This fixes an issue where OpenCloud would not have any bookmark icon in Firefox due to the initially missing favicon. Unfortunately, we can't use `vueuse/head` because it would result in a duplicated `` tag. (cherry picked from commit d7ead8ad6abef9b97998113bf248afb8749c2461) --- index.html | 1 + packages/web-container/img/favicon.svg | 3 ++ .../src/composables/piniaStores/theme.ts | 14 ++++++++ .../src/composables/head/useHead.ts | 32 +++++++------------ 4 files changed, 29 insertions(+), 21 deletions(-) create mode 100644 packages/web-container/img/favicon.svg diff --git a/index.html b/index.html index 5b0a6731bc..ecccb4f849 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,7 @@ <%= data.title %> + <% if (data.buildConfig.cdn) { %>