Skip to content

Node.js based forum software built for the modern web

fix: favicon url

Barış Soner Uşaklı1a35131a8926
diff --git a/src/meta/tags.js b/src/meta/tags.js
index cc3745d249..c68fe95327 100644
--- a/src/meta/tags.js
+++ b/src/meta/tags.js
@@ -65,7 +65,7 @@ Tags.parse = async (req, data, meta, link) => {
const defaultLinks = isAPI ? [] : [{
rel: 'icon',
type: 'image/x-icon',
- href: `${faviconPath}${cacheBuster}`,
+ href: `${faviconPath}${cacheBuster ? `?${cacheBuster}` : ''}`,
}, {
rel: 'manifest',
href: `${relative_path}/manifest.webmanifest`,