mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-08-30 19:01:47 +08:00
update server options
This commit is contained in:
@@ -31,7 +31,8 @@ export default defineConfig({
|
||||
outDir: '../../dist/renderer',
|
||||
},
|
||||
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