From 4ff46b51034e9663467ba9b22fe0816f7b015323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CHenry-Hiles=E2=80=9D?= <“henry@henryhiles.com”> Date: Tue, 15 Nov 2022 10:56:40 -0500 Subject: [PATCH] Set base path --- src/App.jsx | 6 +++--- src/main.jsx | 2 +- vite.config.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 4f9d556..17ac9f3 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -9,9 +9,9 @@ const App = () => (
} /> - } /> - } /> - } /> + } /> + } /> + } /> 404 - Not Found} />
diff --git a/src/main.jsx b/src/main.jsx index b3eda51..650a2ce 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -6,7 +6,7 @@ import { BrowserRouter } from "react-router-dom" ReactDOM.createRoot(document.getElementById("root")).render( - + diff --git a/vite.config.js b/vite.config.js index e1501b1..35b1186 100644 --- a/vite.config.js +++ b/vite.config.js @@ -4,7 +4,7 @@ import path from "path" export default defineConfig({ plugins: [react()], - base: '/movie-react-app/', + base: "/movie-react-app/", resolve: { alias: { styles: path.resolve(__dirname, "/src/styles"),