mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-08-31 19:29:37 +08:00
update server options
This commit is contained in:
@@ -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,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user