Skip to content

fix(templates): set redirect url for the template page logo - #1822

Merged
viethung0o0 merged 1 commit into
mainfrom
fix/template-header-logo-link
Nov 30, 2026
Merged

viethung0o0 merged 1 commit into
mainfrom
fix/template-header-logo-link

Conversation

@viethung0o0

@viethung0o0 viethung0o0 commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Set the redirect url for the logo in the public template page header (share link, install and store pages).
  • The url is derived from the domain the page is opened on, so white-label domains are respected.
  • Add tldts (catalog) to resolve the root domain.

Test plan

  • pnpm vitest run __tests__/templates-home-url.test.ts
  • pnpm --filter builder check-types
  • pnpm lint
  • Open a template share link and click the header logo (browser, local)
  • Repeat on a white-label domain (local, simulated with X-Forwarded-Host)

@github-actions github-actions Bot added the bug Something isn't working as expected label Nov 30, 2026
@viethung0o0
viethung0o0 merged commit 4567501 into main Nov 30, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working as expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants