mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-24 00:42:51 +10:00
Make application and logo configurable (#336)
* Adds settings for server name and logo * Implements ApplicationLogo and replaces site name based on settings * Refactors component for changing the company logo * Removes unused variable * Uses message instead of statusMessage * Replaces favicon with logo if set
This commit is contained in:
@@ -34,4 +34,7 @@ useHead({
|
||||
return title ? t("titleTemplate", [title]) : t("title");
|
||||
},
|
||||
});
|
||||
const { mLogoObjectId } = await $dropFetch("/api/v1");
|
||||
const favicon = mLogoObjectId ? useObject(mLogoObjectId) : "/favicon.ico";
|
||||
useFavicon(favicon, { rel: "icon" });
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user