mirror of https://github.com/1Panel-dev/1Panel
feat: 前端启动配置可以通过 IP 访问 (#538)
parent
18029d8369
commit
3de223144d
|
@ -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/',
|
||||
|
|
Loading…
Reference in New Issue