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