Commit Graph

9 Commits

Author SHA1 Message Date
Michael Zetterberg
4a846540c3 feat: improve handling of deployment env vars
These are now defined in Netlify UI for dedicated environments (test, stage, production):

AUTH_URL
NEXTAUTH_URL
PUBLIC_URL

Code now falls back to incoming request host. Mainly used for
deployment previews which do not have Akamai in front, meaning
we do not need the above workaround as incoming request host
matches the actual public facing host. When Akamai is in front,
we lose the public facing host in Netlify's routing layer as they
internally use `x-forwarded-for` and we can't claim it for our usage.
2024-10-15 17:03:36 +02:00
Linus Flood
a91c8ed928 feat: cms cache 2024-10-14 10:08:26 +02:00
Michael Zetterberg
a33a69fb58 fix: improve auth handling and logging 2024-08-22 14:07:36 +02:00
Christel Westerberg
92829108be bug: fix rewrites to profile routes for all languages 2024-07-16 07:57:11 +02:00
Chuma McPhoy
bfcef5b832 chore: create a utils/languages file 2024-07-04 15:19:17 +02:00
Matilda Landström
c8247bb2e4 refactor: move contentype to header 2024-05-30 16:07:42 +02:00
Michael Zetterberg
6d85bb5887 fix: passing headers 2024-05-20 10:21:22 +02:00
Michael Zetterberg
476e9f7582 fix(auth): make things work 2024-05-20 09:10:20 +02:00
Michael Zetterberg
8772d30b25 feat(my-pages): redirect to overview in middleware 2024-05-19 19:42:47 +02:00