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