feat: add change user-config

This commit is contained in:
2025-04-03 19:22:41 +08:00
parent 1e10c8529e
commit 521255c1af
25 changed files with 1667 additions and 762 deletions

View File

@@ -74,6 +74,10 @@ export default defineConfig({
port: 6020,
host: '0.0.0.0',
proxy: {
'/root/locales': {
target: 'https://kevisual.cn',
changeOrigin: true,
},
'/system/lib': {
target: 'https://kevisual.xiongxiao.me',
changeOrigin: true,
@@ -81,6 +85,7 @@ export default defineConfig({
'/api': {
target: 'http://localhost:4005',
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(/^\/api/, '/api'),
},
...proxy,