Skip to content

Commit

Permalink
fix: add SPA Fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroxSasha committed Jul 6, 2024
1 parent 1b7cbe0 commit 2eb5d9b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
base: "./"
base: "./",
server: {
historyApiFallback: true
}
})

0 comments on commit 2eb5d9b

Please sign in to comment.