From b214763c9acfc0456179d583c85447e3232733e2 Mon Sep 17 00:00:00 2001 From: Renoir Boulanger Date: Tue, 8 Oct 2024 12:10:16 -0400 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20=5Fredirects=20file=20a?= =?UTF-8?q?ssociation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 3 ++- static/_redirects | 29 ++++++++++++++++++++++++++++- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index eb7366d6b7..07b58b5eb9 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -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" diff --git a/static/_redirects b/static/_redirects index 71a26fdb7d..a180513d38 100644 --- a/static/_redirects +++ b/static/_redirects @@ -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 @@ -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