Skip to content

Commit

Permalink
set vite base as relative when not running in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
spaasis authored Feb 28, 2024
1 parent 559a3d6 commit eeb7188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import vue from '@vitejs/plugin-vue'
const path = require('path')

export default defineConfig({
base: process.env.NODE_ENV === 'production' ? '/merihavainnot/' : '/',
base: process.env.NODE_ENV === 'production' ? '/merihavainnot/' : '',
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
Expand Down

0 comments on commit eeb7188

Please sign in to comment.