You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@nkkko Wouldn't this be considered a slack issue with slack grabbing icons off the domain directly instead of following through the redirect to the end route?
@steven-tey I don't know if NextJS has a great way to swap the favicon programmatically BUT using a middleware layer with NextResponse.rewrite does work for favicon rewrites, I don't know how you'd want to handle icon.* vs favicon.ico vs custom naming conventions, you could always quick parse the tags of the end site but that takes a lot of time so I'm not sure how good of a solution it is but it does work
When sharing short links in Slack, favicon defaults to dub.co favicon like in the screenshot:
Slack doesn't respect the page's icon head tags and takes the
/favicon.ico
of the root domain.Defaulting back to the workspace's logo could be a solution.
The text was updated successfully, but these errors were encountered: