Fix portal SEO, Korean copy, and favicon

Custom-domain base URLs included the request path, so
canonical/hreflang doubled routes; emit SEO links only with
an absolute origin. Rewrite Korean mismatch strings to avoid
literal particle parentheses, rename HtmlLang to HTMLLang, and
ship public favicons so Vite no longer 404s the fallback icon.

Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
Émile Ré
2026-07-21 18:50:34 +02:00
parent e47091e5b5
commit 59f053e8f9
27 changed files with 89 additions and 20 deletions

View File

@@ -97,9 +97,11 @@ func NewSNIMiddleware(visitorSvc *visitor.Service) func(next http.Handler) http.
}
}
// Origin only — consumers append their own paths (SEO, sitemap,
// robots, brand assets, OAuth). Including r.URL.Path here would
// duplicate the route (e.g. /fr/documents/fr/documents).
baseURL := &url.URL{
Host: r.Host,
Path: r.URL.Path,
Scheme: "https",
}
baseURLString := baseURL.String()