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
6 lines
146 B
TOML
6 lines
146 B
TOML
[functions]
|
|
included_files = ["netlify/functions/data/**.json"]
|
|
[[redirects]]
|
|
from = "/*"
|
|
to = "/.netlify/functions/redirect"
|
|
status = 200 |