Skip to content

Commit

Permalink
feat: add old docs proxy redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Oct 7, 2023
1 parent 6dc1fa4 commit faca825
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,14 @@ for = "/assets/*"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"

[[redirects]]
from = "/v1/*"
to = "https://luxury-sorbet-1e94f3.netlify.app/:splat"
status = 200
force = true # COMMENT: ensure that we always redirect

[[redirects]]
from = "/v2/*"
to = "https://magenta-malasada-aac0c8.netlify.app/:splat"
status = 200
force = true # COMMENT: ensure that we always redirect

0 comments on commit faca825

Please sign in to comment.