From 5bd0b568a0e16822b1cd85a5a340e26d56e3268e Mon Sep 17 00:00:00 2001 From: Sean Wotherspoon Date: Mon, 9 Dec 2024 14:31:14 -0800 Subject: [PATCH] Switch production basepath --- src/App.tsx | 2 +- vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index a60e418..71c9a9a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -10,7 +10,7 @@ import Resources from './components/Resources' function App() { return ( - +
diff --git a/vite.config.ts b/vite.config.ts index d98f03f..b7ff073 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -3,7 +3,7 @@ import react from '@vitejs/plugin-react' // https://vitejs.dev/config/ export default defineConfig(({ mode }) => { - const base = mode === "production" ? "/Website/" : "/"; + const base = mode === "production" ? "/" : "/"; return { base, plugins: [react()],