Skip to content

Commit 6c99d15

Browse files
committed
feat: Add _redirects file for SPA routing and remove the base path from Vite configuration.
1 parent 4788025 commit 6c99d15

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

public/_redirects

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/* /index.html 200

vite.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import react from '@vitejs/plugin-react'
33

44
// https://vite.dev/config/
55
export default defineConfig({
6-
base: '/DevSpawnPoint-Porfolio/',
76
plugins: [react()],
87
server: {
98
port: 3000,

0 commit comments

Comments
 (0)