1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 00:09:16 +08:00

feat: 前端启动配置可以通过 IP 访问 (#538)

This commit is contained in:
zhengkunwang223 2023-04-08 14:04:11 +08:00 committed by GitHub
parent 18029d8369
commit 3de223144d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,6 +36,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
server: {
port: viteEnv.VITE_PORT,
open: viteEnv.VITE_OPEN,
host: '0.0.0.0',
proxy: {
'/api/v1': {
target: 'http://localhost:9999/',