mirror of
https://github.com/Xevion/xevion.dev.git
synced 2025-12-05 23:16:57 -06:00
Add comment on new redirection statements
This commit is contained in:
@@ -30,6 +30,7 @@ const v2_redirects = [
|
||||
"/drafts/presenting-to-humans",
|
||||
"/photography",
|
||||
].map((url) => {
|
||||
// If the URL starts with /2, redirect to the new blog. Otherwise, redirect to the old v2 blog to maintain URLs.
|
||||
if (url.startsWith("/2"))
|
||||
return {
|
||||
source: url,
|
||||
|
||||
Reference in New Issue
Block a user