mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-21 06:13:45 +00:00
fix device links for path-route environments
This commit is contained in:
parent
51af299aa2
commit
b9db64d4f9
1 changed files with 1 additions and 2 deletions
|
|
@ -73,10 +73,9 @@ class SdrDeviceListController(AuthorizationMixin, WebpageController):
|
|||
</li>
|
||||
""".format(
|
||||
device_name=config["name"],
|
||||
device_link="{}/{}".format(self.request.path, quote(device_id)),
|
||||
device_link="{}settings/sdr/{}".format(self.get_document_root(), quote(device_id)),
|
||||
state=state_info,
|
||||
additional_info=additional_info,
|
||||
newprofile_link="{}settings/sdr/{}/newprofile".format(self.get_document_root(), quote(device_id)),
|
||||
)
|
||||
|
||||
return """
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue