Commit Graph

12 Commits

Author SHA1 Message Date
Christel Westerberg
5901cab440 fix: refactor breadcrumbs to take page type variants to better match margins 2025-01-07 11:41:39 +01:00
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
10aa735a2e Refactor 2024-10-14 10:39:53 +02:00
Linus Flood
a8f7c62f59 refactor 2024-10-14 10:36:13 +02:00
Linus Flood
697d571ab2 Fixed expiresAt value depending of cache hit/miss 2024-10-14 10:19:29 +02:00
Linus Flood
a91c8ed928 feat: cms cache 2024-10-14 10:08:26 +02:00
Simon Emanuelsson
af850c90e7 feat(SW-66, SW-348): search functionality and ui 2024-09-24 09:47:31 +02:00
Michael Zetterberg
a33a69fb58 fix: improve auth handling and logging 2024-08-22 14:07:36 +02:00
Chuma McPhoy
bfcef5b832 chore: create a utils/languages file 2024-07-04 15:19:17 +02:00
Christel Westerberg
9b4fde334f fix: trim away trailing slash 2024-07-01 10:24:22 +02:00
Christel Westerberg
bac513ec4c fix: add headers correctly 2024-05-28 08:30:20 +02:00
Michael Zetterberg
6d85bb5887 fix: passing headers 2024-05-20 10:21:22 +02:00