Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #26 from nono303/patch-1
Browse files Browse the repository at this point in the history
Avoid CORS blocking
  • Loading branch information
grst committed May 10, 2020
2 parents 994e2af + 42d8706 commit 096e3f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geos/static/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ function activateMap(mapSource) {
tmpLayer = new ol.layer.Tile({
source: new ol.source.XYZ({
url: tileLayer.tile_url,
crossOrigin: 'anonymous',
crossOrigin: null,
minZoom: tileLayer.min_zoom,
maxZoom: tileLayer.max_zoom
})
Expand Down

0 comments on commit 096e3f8

Please sign in to comment.