mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-02-26 13:00:09 +08:00
chore: add HOST field
This commit is contained in:
parent
ebf05888da
commit
d3567065e8
@ -77,6 +77,7 @@
|
||||
},
|
||||
"env": {
|
||||
"//": "Will be auto inject to main,renderer,preload process.env",
|
||||
"HOST": "127.0.0.1",
|
||||
"PORT": 3344,
|
||||
"PORT_WS": 3355
|
||||
},
|
||||
|
2
types/global.d.ts
vendored
2
types/global.d.ts
vendored
@ -2,7 +2,9 @@
|
||||
declare namespace NodeJS {
|
||||
interface ProcessEnv {
|
||||
readonly NODE_ENV: 'development' | 'production'
|
||||
readonly HOST: string
|
||||
readonly PORT: string
|
||||
readonly PORT_WS: string
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user