Skip to content

Commit

Permalink
Related to fix for #4178
Browse files Browse the repository at this point in the history
  • Loading branch information
capooti committed Jan 30, 2019
1 parent 6f76fd5 commit 1aeefe0
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 1aeefe0

Please sign in to comment.