Skip to content

Commit

Permalink
fix: Update base config
Browse files Browse the repository at this point in the history
  • Loading branch information
Aya-X committed Sep 4, 2023
1 parent 2a8b2a1 commit bdfe77a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import react from '@vitejs/plugin-react-swc'

// https://vitejs.dev/config/
export default defineConfig({
base: import.meta.env.MODE === 'production' ? '/react-todolist-newbie/' : '/',
// base: process.env.NODE_ENV === 'production' ? '/react-todolist-newbie/' : '/',
base: process.env.NODE_ENV === 'production' ? '/react-todolist-newbie/' : '/',
plugins: [react()],
})

0 comments on commit bdfe77a

Please sign in to comment.