Skip to content
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions images/common/openwisp/asgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@

routes.extend(network_topology_routes)

if env_bool(os.environ.get("USE_OPENWISP_FIRMWARE")):
from openwisp_firmware_upgrader.routing import ( # noqa: E402
websocket_urlpatterns as firmware_upgrader_routes,
)

routes.extend(firmware_upgrader_routes)
if env_bool(os.environ["USE_OPENWISP_RADIUS"]):
from openwisp_radius.routing import websocket_urlpatterns as radius_routes

Expand Down
1 change: 0 additions & 1 deletion images/openwisp_dashboard/module_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,5 @@
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_FIRMWARE_API_BASEURL = API_BASEURL
OPENWISP_RADIUS_API_BASEURL = API_BASEURL
Loading