Skip to content

Commit 0fc857f

Browse files
committed
【update】mapstyle transformRequest withcredentials的默认值优化;review by songym
1 parent 6e72c6f commit 0fc857f

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
@@ -39,7 +39,7 @@ export function createMapStyleExtending(SuperClass, { MapManager, crsManager })
3939
}
4040
return {
4141
url: proxy ? `${proxy}${encodeURIComponent(url)}` : url,
42-
credentials: this.webMapService.handleWithCredentials(proxy, url, this.options.withCredentials || false)
42+
credentials: this.webMapService.handleWithCredentials(proxy, url, false)
4343
? 'include'
4444
: undefined,
4545
...(this.options.tileTransformRequest && this.options.tileTransformRequest(url))

0 commit comments

Comments
 (0)