2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 07:57:21 +08:00

feat: 优化开发

This commit is contained in:
2025-04-19 00:50:29 +08:00
parent a70b18b6f4
commit 714a33313e
2 changed files with 9 additions and 2 deletions

3
web/.gitignore vendored
View File

@@ -29,3 +29,6 @@ coverage
.eslintrc-auto-import.json
types/components.d.ts
types/auto-imports.d.ts
# 编译后的翻译文件
src/locales/translations.json

View File

@@ -3,11 +3,15 @@ const proxyConfigMappings: Record<ProxyType, ProxyConfig[]> = {
{
prefix: '/api/ws',
target: 'ws://localhost:8888/api/ws',
secure: false
changeOrigin: true,
secure: false,
ws: true
},
{
prefix: '/api',
target: 'http://localhost:8080/api'
target: 'http://localhost:8080/api',
changeOrigin: true,
secure: false
}
],
test: [