fix(proxy): allow unauthenticated access to /opengraph-image
Social-media crawlers (Facebook, Twitter/X, Slack, Discord) never have a Clerk session, so the new OG image route was 307-redirecting every one of them to /sign-in instead of serving the image — found while live-testing right after deploy, same class of bug as the GDPR-export route fix.
This commit is contained in:
1 parent
e47eed3a9d
commit
747d9e1811
1 file changed
+1
@@ -9,6 +9,7 @@ const isPublicRoute = createRouteMatcher([
|
||||
"/verify-email(.*)",
|
||||
"/health-card/(.*)",
|
||||
"/api/gdpr-export/(.*)",
|
||||
"/opengraph-image",
|
||||
"/impressum",
|
||||
"/datenschutz",
|
||||
"/nutzungsbedingungen",
|
||||
|
||||
Reference in new issue
Block a user