Skip to content

Commit dcf951c

Browse files
committed
[bug] restjsr不出图
1 parent debbf4a commit dcf951c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/openlayers/mapping/WebMap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4859,7 +4859,7 @@ export class WebMap extends Observable {
48594859
if (checkUrl && !CommonUtil.isAbsoluteURL(checkUrl)) {
48604860
checkUrl = CommonUtil.relative2absolute(checkUrl, baseUrl);
48614861
}
4862-
let withCredentials = this.isCredentail(checkUrl, layerInfo.proxy);
4862+
let withCredentials = CommonUtil.isInTheSameDomain(checkUrl) || this.isIportalProxyServiceUrl(checkUrl);
48634863
// 创建MapBoxStyle样式
48644864
let mapboxStyles = new MapboxStyles({
48654865
baseUrl,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy