We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baff69b commit c3195e5Copy full SHA for c3195e5
src/openlayers/mapping/WebMap.js
@@ -4375,7 +4375,7 @@ export class WebMap extends Observable {
4375
* @returns { boolean | undefined } 是否带上cookie
4376
*/
4377
isCredentail(url, proxy) {
4378
- if(this.isIportalProxyServiceUrl(url) || (proxy !== false && !CommonUtil.isInTheSameDomain(url))) {
+ if(proxy || this.isIportalProxyServiceUrl(url) || CommonUtil.isInTheSameDomain(url)) {
4379
return true
4380
}
4381
return;
0 commit comments