Skip to content

Commit

Permalink
Merge pull request #4203 from capooti/related-to-fix-4178
Browse files Browse the repository at this point in the history
Related to fix for #4178
  • Loading branch information
Alessio Fabiani authored Feb 1, 2019
2 parents 8e4871a + 1aeefe0 commit 9cddea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/contrib/worldmap/wm_extra/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ def add_layers_to_map_config(request, map_obj, layer_names, add_base_layers=True
layer_url = urlparse.urlsplit(layer.ows_url).netloc

if access_token and ogc_server_url == layer_url and 'access_token' not in layer.ows_url:
url = layer.ows_url+'?access_token='+access_token
url = '%s?access_token=%s' % (layer.ows_url, access_token)
else:
url = layer.ows_url
maplayer = MapLayer(
Expand Down

0 comments on commit 9cddea9

Please sign in to comment.