mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-09-24 04:16:38 +08:00
commit
44b544745d
@ -25,6 +25,6 @@ export function getServiceEnvConfig(env: ImportMetaEnv): ServiceEnvConfigWithPro
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
...config,
|
...config,
|
||||||
proxyPattern: 'proxy-pattern'
|
proxyPattern: '/proxy-pattern'
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
2
src/typings/env.d.ts
vendored
2
src/typings/env.d.ts
vendored
@ -19,7 +19,7 @@ interface ServiceEnvConfigWithProxyPattern extends ServiceEnvConfig {
|
|||||||
* - 和后端请求地址的前缀无关
|
* - 和后端请求地址的前缀无关
|
||||||
* - 有多个后端请求实例时,需要创建不同的值
|
* - 有多个后端请求实例时,需要创建不同的值
|
||||||
*/
|
*/
|
||||||
proxyPattern: 'proxy-pattern';
|
proxyPattern: '/proxy-pattern';
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ImportMetaEnv {
|
interface ImportMetaEnv {
|
||||||
|
Loading…
Reference in New Issue
Block a user