Skip to content

Commit

Permalink
Remove unwanted line of code in worldmap client
Browse files Browse the repository at this point in the history
  • Loading branch information
capooti committed Feb 7, 2019
1 parent c2427a4 commit e463701
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions geonode/contrib/worldmap/wm_extra/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -675,8 +675,6 @@ def gxp2wm(config, map_obj=None):
source = config['sources'][source_id]
if 'url' in source:
source_url = source['url']
# hack
source_url = source_url.replace('https', 'http')
if settings.GEOSERVER_PUBLIC_LOCATION in source_url:
config['sources'][source_id]['url'] = source_url
if 'name' in layer_config:
Expand Down

0 comments on commit e463701

Please sign in to comment.