switch url scheme to avoid conflicts
This commit is contained in:
parent
d123232f28
commit
03315d7960
@ -27,7 +27,7 @@ class SdrDeviceListController(AuthorizationMixin, WebpageController):
|
||||
</li>
|
||||
""".format(
|
||||
profile_name=profile["name"],
|
||||
profile_link="{}settings/sdr/{}/{}".format(
|
||||
profile_link="{}settings/sdr/{}/profile/{}".format(
|
||||
self.get_document_root(), quote(device_id), quote(profile_id)
|
||||
),
|
||||
)
|
||||
|
@ -129,9 +129,9 @@ class Router(object):
|
||||
RegexRoute(
|
||||
"^/settings/sdr/([^/]+)$", SdrDeviceController, method="POST", options={"action": "processFormData"}
|
||||
),
|
||||
RegexRoute("^/settings/sdr/([^/]+)/([^/]+)$", SdrProfileController),
|
||||
RegexRoute("^/settings/sdr/([^/]+)/profile/([^/]+)$", SdrProfileController),
|
||||
RegexRoute(
|
||||
"^/settings/sdr/([^/]+)/([^/]+)$",
|
||||
"^/settings/sdr/([^/]+)/profile/([^/]+)$",
|
||||
SdrProfileController,
|
||||
method="POST",
|
||||
options={"action": "processFormData"},
|
||||
|
Loading…
Reference in New Issue
Block a user