feat:指定运行端口
This commit is contained in:
@@ -1 +1,2 @@
|
||||
VITE_BASE_URL = 'http://localhost:5157'
|
||||
PORT = 5158
|
||||
@@ -1 +1,2 @@
|
||||
VITE_BASE_URL = 'http://192.168.123.199:5157'
|
||||
PORT = 5158
|
||||
@@ -12,5 +12,9 @@ export default defineConfig({
|
||||
alias: {
|
||||
'@': fileURLToPath(new URL('./src', import.meta.url))
|
||||
}
|
||||
},
|
||||
server: {
|
||||
host: '0.0.0.0',
|
||||
port: 5158
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user