Skip to content

Commit 25b72d9

Browse files
committed
【update】mapstyle transformRequest withcredentials的默认值优化;review by songym
1 parent 5021b9c commit 25b72d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/mapping/MapStyle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function createMapStyleExtending(SuperClass, { MapManager, mapRepo }) {
4141
}
4242
return {
4343
url: proxy ? `${proxy}${encodeURIComponent(url)}` : url,
44-
credentials: this.webMapService.handleWithCredentials(proxy, url, this.options.withCredentials || false)
44+
credentials: this.webMapService.handleWithCredentials(proxy, url, false)
4545
? 'include'
4646
: undefined,
4747
...(this.options.tileTransformRequest && this.options.tileTransformRequest(url))

0 commit comments

Comments
 (0)