From 780a4a04339764fd1044d0e6f60a57319efe84c9 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Wed, 7 Oct 2026 11:29:41 -0400 Subject: added redirects --- astro.config.mjs | 6 +++++- public/discord/index.json | 4 ++-- src/pages/index.astro | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 53e49de..9fa31c5 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -5,5 +5,9 @@ import react from '@astrojs/react'; // https://astro.build/config export default defineConfig({ + redirects: { + "/wiki": "https://wiki.shiftos.dev", + "/videos": "https://www.youtube.com/@ShiftOS" + }, integrations: [react()] -}); \ No newline at end of file +}); diff --git a/public/discord/index.json b/public/discord/index.json index 8b6418d..91afe16 100644 --- a/public/discord/index.json +++ b/public/discord/index.json @@ -26,8 +26,8 @@ "components": [ { "type": 2, "style": 5, "url": "https://shiftos.dev/history", "label": "History" }, { "type": 2, "style": 5, "url": "https://shiftos.dev/downloads", "label": "Downlaods" }, - { "type": 2, "style": 5, "url": "https://wiki.shiftos.dev", "label": "Wiki" }, - { "type": 2, "style": 5, "url": "https://www.youtube.com/@ShiftOS", "label": "Videos" } + { "type": 2, "style": 5, "url": "https://shiftos.dev/wiki", "label": "Wiki" }, + { "type": 2, "style": 5, "url": "https://shiftos.dev/videos", "label": "Videos" } ] } ], diff --git a/src/pages/index.astro b/src/pages/index.astro index dfab327..0c2b843 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -25,8 +25,8 @@ import Slideshow from '../components/Slideshow.tsx'; -- cgit v1.2.3