changeset 1462:87e48b6a1bbd

server: fix `libervia-app` name parsing following prefix change
author Goffi <goffi@goffi.org>
date Thu, 30 Sep 2021 11:55:42 +0200
parents 8ac062d2ff8b
children 2c8449885272
files libervia/server/server.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libervia/server/server.py	Thu Sep 30 11:43:44 2021 +0200
+++ b/libervia/server/server.py	Thu Sep 30 11:55:42 2021 +0200
@@ -551,7 +551,7 @@
                     raise ValueError(msg)
                 page_name, url = menu
             elif menu.startswith("libervia-app:"):
-                app_name = menu[8:].strip().lower()
+                app_name = menu[13:].strip().lower()
                 app_data = await self._startApp(app_name)
                 front_url = app_data['front_url']
                 options = self.host.options