fix: restrict usernames that are keywords

fix: the rest of the typo (unsunscribe to unsubscribe)

fix: restrict copyright and copyright-policy and add appropriate redirects

fix/forgot-to-save-this-file-before-last-commit

fix: remove-duplicate+fix-typo

fix: update-snapshot
This commit is contained in:
moT01
2019-08-29 08:45:35 -05:00
committed by mrugesh
parent 70b7080833
commit afc431e900
3 changed files with 23 additions and 7 deletions

View File

@ -34,6 +34,8 @@ const template = `
/about #{{NEWS}}/about 200
/academic-honesty #{{NEWS}}/academic-honesty 200
/code-of-conduct #{{NEWS}}/code-of-conduct 200
/copyright #{{NEWS}}/copyright-policy 200
/copyright-policy #{{NEWS}}/copyright-policy 200
/privacy #{{NEWS}}/privacy-policy 200
/privacy-policy #{{NEWS}}/privacy-policy 200
/sponsors #{{NEWS}}/sponsors 200
@ -62,9 +64,9 @@ const template = `
/:username/back-end-certification /certification/:username/legacy-back-end 301
/:username/full-stack-certification /certification/:username/full-stack 301
# unsunscribe redirects
# unsubscribe redirects
/u/* #{{API}}/u/:splat 200
/unsunscribe/* #{{API}}/unsunscribe/:splat 200
/unsubscribe/* #{{API}}/unsubscribe/:splat 200
/ue/* #{{API}}/ue/:splat 200
# misc redirects