From 300c424cc0a146f5f74264dfc06bc149bdfc77d4 Mon Sep 17 00:00:00 2001 From: Bassel Al Sheikh Ali Date: Tue, 31 Dec 2024 08:59:49 +0300 Subject: [PATCH] fix: add Arabic font support and SVG upload --- app/pkg/web/renderer.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/pkg/web/renderer.go b/app/pkg/web/renderer.go index 32634989f..faf8dc998 100644 --- a/app/pkg/web/renderer.go +++ b/app/pkg/web/renderer.go @@ -176,11 +176,8 @@ func (r *Renderer) Render(w io.Writer, statusCode int, props Props, ctx *Context r.chunkedAssets[pageChunkName], } - if tenant == nil || tenant.LogoBlobKey == "" { - private["favicon"] = AssetsURL(ctx, "/static/favicon") - } else { - private["favicon"] = AssetsURL(ctx, "/static/favicon/%s", tenant.LogoBlobKey) - } + // Always use the local favicon file + private["favicon"] = AssetsURL(ctx, "/static/favicon") private["currentURL"] = ctx.Request.URL.String() if canonicalURL := ctx.Value("Canonical-URL"); canonicalURL != nil {