Commit Graph

7 Commits

Author SHA1 Message Date
Anton Gunnarsson
048a477e52 Merged in feat/common-package (pull request #2333)
feat: Add common package

* Add isEdge, safeTry and dataCache to new common package

* Add eslint and move prettier config

* Fix yarn lock

* Clean up tests

* Add lint-staged config to common

* Add missing dependencies


Approved-by: Joakim Jäderberg
2025-06-11 13:08:39 +00:00
Linus Flood
3b9d01af9d Merged in feat/sw-3006-timeout-fetch (pull request #2335)
feat(SW-3006): added default timeout to all requests

* feat(sw-3006): added default timeout to all requests

* Fixed spreading


Approved-by: Joakim Jäderberg
2025-06-11 12:39:58 +00:00
Michael Zetterberg
528fbbce4a fix: change to permanent redirects were applicable 2025-05-27 12:01:22 +00:00
Arvid Norlin
61983dc4e0 Merged in fix/redirect-continue-header (pull request #2008)
fix: add missing x-continue header to properly handle root 404s

* fix: add missing x-continue header to properly handle root 404s


Approved-by: Michael Zetterberg
2025-05-09 11:18:21 +00:00
Arvid Norlin
59b0ab3d49 Merged in fix/redirect-public-url (pull request #1902)
fix: add getPublicNextURL for redirect url

* fix(SW-2540): add getPublicNextURL for redirect url


Approved-by: Michael Zetterberg
2025-04-29 11:12:56 +00:00
Arvid Norlin
6cf01e8990 Merged in fix/redirect-content-types (pull request #1855)
Fix/redirect content types

* feat(SW-2429): Removed [contentType]>[uid] and use app router based structure for content types

* feat(SW-2429): Added breadcrumbs to follow contenttype folder structure

* fix(SW-2112): reenabling redirect middleware since working with new content-type routing strategy


Approved-by: Michael Zetterberg
2025-04-28 07:02:15 +00:00
Arvid Norlin
33065be565 Merged in feat/SW-2111 (pull request #1761)
feat(SW-2111): add initial scandic-redirect

* feat(SW-2111): add initial scandic-redirect

* feat(SW-2112): add scandic-redirect call to middleware

* chore: add redirect jsons per lang

* fix: handle incorrect contentTypes

* fix: handle lang

* refactor: add json streaming

* refactor: wrap redirect call in cacheOrGet

* refactor: review


Approved-by: Michael Zetterberg
2025-04-16 06:29:32 +00:00