Skip to content

Commit

Permalink
[Fixes #12828] New remote datasets are not registered inside proxy al…
Browse files Browse the repository at this point in the history
…lowed hosts when GeoNode runs asynchoronously
  • Loading branch information
mattiagiupponi committed Jan 24, 2025
1 parent e78deb6 commit 6d3b3d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions geonode/proxy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ def initialize(self):

def set(self, hosts):
self.proxy_allowed_hosts = set(hosts)
self._last_registry_load = now()
return self

def clear(self):
self.proxy_allowed_hosts = set()
self._last_registry_load = now()
return self

def register_host(self, host):
Expand Down

0 comments on commit 6d3b3d3

Please sign in to comment.