Skip to content

Commit

Permalink
Merge pull request #2 from selimnahimi/gh-pages
Browse files Browse the repository at this point in the history
Update vite config
  • Loading branch information
selimnahimi authored Sep 29, 2023
2 parents 59e81db + 6754a19 commit a4e6344
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ export default defineConfig({
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
},
base: '/vue-soundscape-player/'
})
8 changes: 6 additions & 2 deletions vue.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
module.exports = {
publicPath: process.env.NODE_ENV === "production" ? "/vue-soundscape-player/" : "/",
};
publicPath: "/vue-soundscape-player/";
};

export default defineConfig({
base: '/vue-soundscape-player/'
});

0 comments on commit a4e6344

Please sign in to comment.