mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-31 20:16:36 +08:00
update server options
This commit is contained in:
parent
14a291866f
commit
b3ee5e15d9
@ -31,7 +31,8 @@ export default defineConfig({
|
|||||||
outDir: '../../dist/renderer',
|
outDir: '../../dist/renderer',
|
||||||
},
|
},
|
||||||
server: {
|
server: {
|
||||||
port: pkg.env.PORT,
|
host: pkg.env.VITE_DEV_SERVER_HOST,
|
||||||
|
port: pkg.env.VITE_DEV_SERVER_PORT,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user