Commit a04b2eb2 authored by 崔佳豪's avatar 崔佳豪

fix: 新全局配置接口不走网关

parent c0c7c461
Pipeline #48808 passed with stages
in 2 minutes 26 seconds
...@@ -13,10 +13,11 @@ instanceRequest.transformRequestURL = function(url) { ...@@ -13,10 +13,11 @@ instanceRequest.transformRequestURL = function(url) {
'/PandaCore/GCK/Basis/GateWayConfig', '/PandaCore/GCK/Basis/GateWayConfig',
'/CityInterface/rest/services.svc/GetConfig', '/CityInterface/rest/services.svc/GetConfig',
'/PandaOMS/OMS/HostManager/GetGateWay', '/PandaOMS/OMS/HostManager/GetGateWay',
'/PandaCore/Identity/AuthorizationToken' '/PandaCore/Identity/AuthorizationToken',
'/PandaOMS/OMS/WebSite/GetConfig',
]; ];
if (excludeURL.includes(url)) { if (excludeURL.includes(url)) {
return url; return url.replace(/PandaCore\/GateWay\//, '');
} }
// if ( // if (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment