Commit 198c515
chore(domain): build share links from the request origin (domain-agnostic)
Share invite links now derive from the request's host (honouring x-forwarded-host/proto),
falling back to NEXTAUTH_URL, so they're correct on lifora.space (or any domain) without
depending on an env var. Prod NEXTAUTH_URL/AUTH_URL were also set to https://lifora.space.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent ddca4cd commit 198c515
1 file changed
Lines changed: 6 additions & 1 deletion
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
| |||
0 commit comments