Skip to content

Commit

Permalink
update homepage base name
Browse files Browse the repository at this point in the history
  • Loading branch information
akinevans committed Oct 17, 2024
1 parent 7f2d096 commit 8edeca7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "akinevans-v5",
"private": true,
"version": "0.0.0",
"homepage": "https://akinevans.github.io/",
"homepage": "/",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ createRoot(document.getElementById("root")).render(
<StrictMode>
{/* <RouterProvider router={router} /> */}

<BrowserRouter basename='/akinevans-v5/'>
<BrowserRouter basename='/'>
<Routes>
<Route path='/' element={<App />} />
</Routes>
Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import react from "@vitejs/plugin-react";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
base: "/akinevans-v5/",
base: "/",
});

0 comments on commit 8edeca7

Please sign in to comment.