diff libervia/web/pages/embed/page_meta.py @ 1609:f3305832f3f6

server (resources): handle external Libervia apps by adding them to menu without using a Proxy: When an external Libervia app is used, a link is added to the menu, and clicking on it will open the app in an blank page instead of embedding it with a Proxy.
author Goffi <goffi@goffi.org>
date Fri, 31 May 2024 11:10:04 +0200
parents eb00d593801d
children
line wrap: on
line diff
--- a/libervia/web/pages/embed/page_meta.py	Fri May 31 11:10:02 2024 +0200
+++ b/libervia/web/pages/embed/page_meta.py	Fri May 31 11:10:04 2024 +0200
@@ -18,6 +18,7 @@
         app_data = self.vhost_root.libervia_apps[app_name]
     except KeyError:
         self.page_error(request, C.HTTP_BAD_REQUEST)
+        return
     template_data = request.template_data
     template_data['full_screen_body'] = True
     try: