fix(redirects): update redirection paths and codes
This commit is contained in:
@ -17,11 +17,12 @@ exports[`createRedirects matches the snapshot 1`] = `
|
||||
/privacy-policy https://news.example.com/privacy-policy 200
|
||||
/sponsors https://news.example.com/sponsors 200
|
||||
/support https://news.example.com/support 200
|
||||
/shop #{{news}}/shop 200
|
||||
/shop https://news.example.com/shop 200
|
||||
/terms https://news.example.com/terms-of-service 200
|
||||
/terms-of-service https://news.example.com/terms-of-service 200
|
||||
|
||||
# applications
|
||||
/news https://news.example.com/ 200
|
||||
/news/* https://news.example.com/:splat 200
|
||||
/forum/* https://forum.example.com/:splat 200
|
||||
|
||||
|
@ -38,11 +38,12 @@ const template = `
|
||||
/privacy-policy #{{NEWS}}/privacy-policy 200
|
||||
/sponsors #{{NEWS}}/sponsors 200
|
||||
/support #{{NEWS}}/support 200
|
||||
/shop #{{news}}/shop 200
|
||||
/shop #{{NEWS}}/shop 200
|
||||
/terms #{{NEWS}}/terms-of-service 200
|
||||
/terms-of-service #{{NEWS}}/terms-of-service 200
|
||||
|
||||
# applications
|
||||
/news #{{NEWS}}/ 200
|
||||
/news/* #{{NEWS}}/:splat 200
|
||||
/forum/* #{{FORUM}}/:splat 200
|
||||
|
||||
|
Reference in New Issue
Block a user