Skip to content

Commit

Permalink
chore: 🤖 _redirects file association
Browse files Browse the repository at this point in the history
  • Loading branch information
renoirb committed Oct 9, 2024
1 parent 585adf2 commit b214763
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"eslint.packageManager": "yarn",
"eslint.run": "onType",
"files.associations": {
"*.css": "vue-postcss"
"*.css": "vue-postcss",
"static/_redirects": "plaintext"
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
Expand Down
29 changes: 28 additions & 1 deletion static/_redirects
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
#
# Redirects
#
# Format:
#
# [source] [destination] [code?]
#
# source required
# A file path.
# Can include wildcards (*) and placeholders.
# Because fragments are evaluated by your browser and not Cloudflare’s network, any fragments in the source are not evaluated.
#
# destination required
# A file path or external link.
# Can include fragments, query strings, splats, and placeholders.
#
# code default: 302
# Optional parameter
#
#
# A project is limited to 2000 static redirects and 100 dynamic redirects,
# for a combined total of 2100 redirects.
# Each redirect declaration has a 1000-character limit.
#
# Bookmarks:
# - https://developers.cloudflare.com/pages/configuration/redirects/
#
/files/cvrenoir_latest.pdf /files/resume/Resume-Renoir-Boulanger.pdf
/files/cvrenoir_latest_en.pdf /files/resume/Resume-Renoir-Boulanger.pdf 301
/files/Resume-Renoir-Boulanger.pdf /files/resume/Resume-Renoir-Boulanger.pdf 301
Expand All @@ -6,7 +33,7 @@
/me-joindre/ /contact/ 301
/renoir-boulanger/ /about/ 301
/about/renoirb-2/ /about/ 301
/blog/2010/04/trois-geeks-cherchent-un-nouveau-loyer-sur-montreal/ /error/?c=deleted
/blog/2010/04/trois-geeks-cherchent-un-nouveau-loyer-sur-montreal/ /error/?c=disabled-img-url
/blog/2006/12/installer-vmware-sur-ubuntu-server-avec-le-repositoire-de-canonical-2/ /blog/2006/12/installer-vmware-sur-ubuntu-server-avec-le-repositoire-de-canonical/ 301
/blog/2006/12/installer-vmware-sur-ubuntu-server-avec-le-repositoire-de-canonical-3/ /blog/2006/12/installer-vmware-sur-ubuntu-server-avec-le-repositoire-de-canonical/ 301
/blog/2006/12/installer-vmware-sur-ubuntu-server-avec-le-repositoire-de-canonical-4/ /blog/2006/12/installer-vmware-sur-ubuntu-server-avec-le-repositoire-de-canonical/ 301
Expand Down

0 comments on commit b214763

Please sign in to comment.