diff --git a/owrx/controllers/settings/sdr.py b/owrx/controllers/settings/sdr.py index 9d61427..307509f 100644 --- a/owrx/controllers/settings/sdr.py +++ b/owrx/controllers/settings/sdr.py @@ -84,7 +84,7 @@ class SdrDeviceListController(AuthorizationMixin, WebpageController): {devices}
""".format( devices="".join(render_device(key, value) for key, value in Config.get()["sdrs"].items()) diff --git a/owrx/http.py b/owrx/http.py index 0abdf7e..aa98590 100644 --- a/owrx/http.py +++ b/owrx/http.py @@ -121,9 +121,9 @@ class Router(object): "/settings/general", GeneralSettingsController, method="POST", options={"action": "processFormData"} ), StaticRoute("/settings/sdr", SdrDeviceListController), - StaticRoute("/settings/sdr/new", NewSdrDeviceController), + StaticRoute("/settings/newsdr", NewSdrDeviceController), StaticRoute( - "/settings/sdr/new", NewSdrDeviceController, method="POST", options={"action": "processFormData"} + "/settings/newsdr", NewSdrDeviceController, method="POST", options={"action": "processFormData"} ), RegexRoute("^/settings/sdr/([^/]+)$", SdrDeviceController), RegexRoute(