diff --git a/images/openwisp_dashboard/module_settings.py b/images/openwisp_dashboard/module_settings.py index 6c092abf..1c4f1c69 100644 --- a/images/openwisp_dashboard/module_settings.py +++ b/images/openwisp_dashboard/module_settings.py @@ -101,6 +101,7 @@ else f":{HTTP_PORT}" ) API_BASEURL = f'{HTTP_SCHEME}://{os.environ["API_DOMAIN"]}{HTTP_PORT}' +DASHBOARD_BASEURL = f'{HTTP_SCHEME}://{os.environ["DASHBOARD_DOMAIN"]}{HTTP_PORT}' OPENWISP_NETWORK_TOPOLOGY_API_URLCONF = "openwisp_network_topology.urls" OPENWISP_MONITORING_API_URLCONF = "openwisp_monitoring.urls" @@ -108,6 +109,6 @@ OPENWISP_NETWORK_TOPOLOGY_API_BASEURL = API_BASEURL OPENWISP_NOTIFICATIONS_HOST = API_BASEURL OPENWISP_CONTROLLER_API_HOST = API_BASEURL -OPENWISP_MONITORING_API_BASEURL = API_BASEURL +OPENWISP_MONITORING_API_BASEURL = DASHBOARD_BASEURL OPENWISP_FIRMWARE_API_BASEURL = API_BASEURL OPENWISP_RADIUS_API_BASEURL = API_BASEURL diff --git a/requirements-test.txt b/requirements-test.txt index 8a6b6c72..57875b35 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,2 +1,3 @@ docker>=7.1.0,<7.2.0 openwisp-utils[qa,selenium]~=1.2.0 +sphinx<8.0.0