Skip to content

Commit 5c75c3d

Browse files
committed
chore(deps): update netlify.toml to add the roadmap redirects before main SSR redirect
1 parent 5c70d06 commit 5c75c3d

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

netlify.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,19 @@
2121
publish = "_netlify/builders"
2222
environment = { NETLIFY = "true", LINEAR_CUSTOM_VIEW_ID = "27df73bc-50ec-4fc1-bbb2-d906236a5bbc" }
2323

24+
# Roadmap SSR page — must come before the catch-all below
25+
[[redirects]]
26+
from = "/developers/roadmap"
27+
to = "/.netlify/functions/ssr"
28+
status = 200
29+
force = true
30+
31+
[[redirects]]
32+
from = "/developers/roadmap/"
33+
to = "/.netlify/functions/ssr"
34+
status = 200
35+
force = true
36+
2437
# Rewrite everything to /developers/index.html for client-side routing
2538
[[redirects]]
2639
from = "/developers/*"

0 commit comments

Comments
 (0)