fix(redirects): update domain redirects (#37306)
This commit is contained in:
@ -6,6 +6,11 @@ exports[`createRedirects matches the snapshot 1`] = `
|
|||||||
# WARNING: The order of this list is very important.
|
# WARNING: The order of this list is very important.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# domain mappings
|
||||||
|
https://freecodecamp-dev.netlify.com/* https://www.freecodecamp.dev/:splat 301!
|
||||||
|
https://freecodecamp-org.netlify.com/* https://www.freecodecamp.org/:splat 301!
|
||||||
|
|
||||||
|
|
||||||
#api redirect
|
#api redirect
|
||||||
/internal/* https://api.example.com/internal/:splat 200
|
/internal/* https://api.example.com/internal/:splat 200
|
||||||
|
|
||||||
|
@ -27,6 +27,11 @@ const template = `
|
|||||||
# WARNING: The order of this list is very important.
|
# WARNING: The order of this list is very important.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# domain mappings
|
||||||
|
https://freecodecamp-dev.netlify.com/* https://www.freecodecamp.dev/:splat 301!
|
||||||
|
https://freecodecamp-org.netlify.com/* https://www.freecodecamp.org/:splat 301!
|
||||||
|
|
||||||
|
|
||||||
#api redirect
|
#api redirect
|
||||||
/internal/* #{{API}}/internal/:splat 200
|
/internal/* #{{API}}/internal/:splat 200
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user