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 debbf4a commit dcf951cCopy full SHA for dcf951c
src/openlayers/mapping/WebMap.js
@@ -4859,7 +4859,7 @@ export class WebMap extends Observable {
4859
if (checkUrl && !CommonUtil.isAbsoluteURL(checkUrl)) {
4860
checkUrl = CommonUtil.relative2absolute(checkUrl, baseUrl);
4861
}
4862
- let withCredentials = this.isCredentail(checkUrl, layerInfo.proxy);
+ let withCredentials = CommonUtil.isInTheSameDomain(checkUrl) || this.isIportalProxyServiceUrl(checkUrl);
4863
// 创建MapBoxStyle样式
4864
let mapboxStyles = new MapboxStyles({
4865
baseUrl,
0 commit comments