Skip to content

Commit

Permalink
Add base path for github pages (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
IzumiSy authored Sep 5, 2024
1 parent d8d4f68 commit 89deced
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ export default defineConfig({
build: {
sourcemap: process.env.NODE_ENV === "development",
},
base: process.env.GITHUB_PAGES ? "editor" : "./",
});

0 comments on commit 89deced

Please sign in to comment.