mirror of
https://github.com/outline/outline.git
synced 2026-12-03 18:10:36 +03:00
fix: Use team name on link metadata if public branding enabled (#9273)
This commit is contained in:
1 parent
1752c04c06
commit
76d9a02fee
1 file changed
+4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user