批量推送代码

This commit is contained in:
郭庆泰
2026-08-26 23:14:46 +08:00
parent 18f7e93d5b
commit 36528b6e0c
36 changed files with 933 additions and 779 deletions
+4 -4
View File
@@ -29,11 +29,11 @@ export default defineConfig(({ mode }) => {
host: '0.0.0.0',
proxy: {
[apiPath]: {
// 远程后端: risingdoctor.com/hg-api (HTTPS, 远程 RuoYi v3.9.2)
target: 'https://risingdoctor.com',
// 本地后端: localhost:8080 (RuoYi context-path=/, 去掉 /dev-api 前缀直连)
target: 'http://localhost:8080',
changeOrigin: true,
secure: true,
rewrite: (p) => p.replace(new RegExp('^' + apiPath), '/hg-api')
secure: false,
rewrite: (p) => p.replace(new RegExp('^' + apiPath), '')
}
}
}