fix: Use team name on link metadata if public branding enabled (#9273)

This commit is contained in:
Tom Moor authored and GitHub committed 2025-05-21 21:01:31 -04:00
1 parent 1752c04c06
commit 76d9a02fee
1 file changed
+4
+4
View File
@@ -171,6 +171,10 @@ router.get("*", shareDomains(), async (ctx, next) => {
: [];
return renderApp(ctx, next, {
title:
team?.getPreference(TeamPreference.PublicBranding) && team.name
? team.name
: undefined,
analytics,
shortcutIcon:
team?.getPreference(TeamPreference.PublicBranding) && team.avatarUrl