批量推送代码
This commit is contained in:
@@ -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), '')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user