Skip to content

Commit

Permalink
Dynamic vite base path
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGough committed May 23, 2024
1 parent c663202 commit 7f9702c
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
@@ -1,7 +1,7 @@
export default {
root: "src/",
publicDir: "../static/",
base: "/",
base: process.env.VITE_BASE_PATH || "/solar-system/",
server: {
host: true,
open: false,
Expand Down

0 comments on commit 7f9702c

Please sign in to comment.