Commit 4a54d13
fix(web): Set metadataBase to fix og:image URL behind reverse proxy
Without metadataBase, Next.js falls back to the raw HTTP request host
(localhost:8080) when constructing the absolute og:image URL from
opengraph-image.tsx. Setting metadataBase to AUTH_URL ensures the
public-facing URL is used instead.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent ec035dd commit 4a54d13
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments