mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-13 01:56:22 +08:00
feat: 前端启动配置可以通过 IP 访问 (#538)
This commit is contained in:
parent
18029d8369
commit
3de223144d
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue