mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 08:19:15 +08:00
feat: 前端启动配置可以通过 IP 访问 (#538)
This commit is contained in:
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…
x
Reference in New Issue
Block a user