Skip to content

Commit 0c1f56f

Browse files
committed
on github pages the app will be served from a subdirectory
1 parent 38892c5 commit 0c1f56f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vite.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export default defineConfig(({ mode }) => {
66

77
return {
88
plugins: [],
9+
base: mode=="development"? "./" : "/three.js-visual-node-editor/",
910
server: {
1011
host: '0.0.0.0',
1112
port: 5173, // Replace with your desired port if needed

0 commit comments

Comments
 (0)