moved redirects to config

Signed-off-by: Ash Entwisle <ash.entwisle@protonmail.com>
issue/index
Ash Entwisle 2023-10-20 16:53:21 +00:00
parent f8054bb552
commit 04facc8a35
No known key found for this signature in database
GPG Key ID: 0E3CBB6B4BE9FE33
10 changed files with 7 additions and 28 deletions

View File

@ -14,6 +14,12 @@ export default defineConfig({
output: "server", output: "server",
adapter: cloudflare(), adapter: cloudflare(),
redirects: { redirects: {
"/links/testing": "https://hullcss.org/links", "/links/discord": "https://discord.gg/sYeBPrjA",
"/links/facebook": "https://facebook.com/hullCSS",
"/links/github": "https://github.com/hullcss",
"/links/husu": "https://hulluniunion.com/activities/view/ComputerScience",
"/links/instagram": "https://instagram.com/hull_css/",
"/links/linkedin": "https://linkedin.com/company/hullcss",
"/links/twitter": "https://twitter.com/hull_CSS",
} }
}); });

View File

@ -1,3 +0,0 @@
---
return Astro.redirect("https://discord.gg/sYeBPrjA");
---

View File

@ -1,3 +0,0 @@
---
return Astro.redirect("https://facebook.com/hullCSS");
---

View File

@ -1,3 +0,0 @@
---
return Astro.redirect("https://github.com/hullcss");
---

View File

@ -1,3 +0,0 @@
---
return Astro.redirect("https://hulluniunion.com/activities/view/ComputerScience");
---

View File

@ -1,3 +0,0 @@
---
return Astro.redirect("https://linktr.ee/hullcss");
---

View File

@ -1,3 +0,0 @@
---
return Astro.redirect("https://instagram.com/hull_css/");
---

View File

@ -1,3 +0,0 @@
---
return Astro.redirect("https://linkedin.com/company/hullcss");
---

View File

@ -1,3 +0,0 @@
---
return Astro.redirect("https://twitter.com/hull_CSS");
---

View File

@ -1,3 +0,0 @@
---
return Astro.redirect("https://twitter.com/hull_CSS");
---