From 325364f0b3034dd143214d5dff340282b2f1f171 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Mon, 4 Nov 2024 16:09:02 +0100 Subject: [PATCH] Auto redirect to /player --- frontend/astro.config.mjs | 3 + frontend/src/pages/index.astro | 125 --------------------------------- 2 files changed, 3 insertions(+), 125 deletions(-) diff --git a/frontend/astro.config.mjs b/frontend/astro.config.mjs index d72998b..af08493 100644 --- a/frontend/astro.config.mjs +++ b/frontend/astro.config.mjs @@ -13,4 +13,7 @@ export default defineConfig({ adapter: node({ mode: "standalone", }), + redirects: { + "/": "/player" + } }); \ No newline at end of file diff --git a/frontend/src/pages/index.astro b/frontend/src/pages/index.astro index 49475d9..a845151 100644 --- a/frontend/src/pages/index.astro +++ b/frontend/src/pages/index.astro @@ -1,127 +1,2 @@ --- -import Layout from "../layouts/Layout.astro"; -import Card from "../components/Card.astro"; --- - - -
- -

Welcome to Astro

-

- To get started, open the directory src/pages in your project.
- Code Challenge: Tweak the "Welcome to Astro" message above. -

- -
- -
-

Hello Tailwind + Astro!

-
-
- -