From 6a5ebe087e6dcf4f43d6f80f239d62a79de27179 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Sun, 6 Dec 2020 17:19:58 -0600 Subject: [PATCH] PGWUI_Server no longer configure common in a route_prefix context --- src/pgwui_common/pgwui_common.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pgwui_common/pgwui_common.py b/src/pgwui_common/pgwui_common.py index 45e9587..8ed3ec0 100644 --- a/src/pgwui_common/pgwui_common.py +++ b/src/pgwui_common/pgwui_common.py @@ -37,8 +37,7 @@ def configure_page(config, pgwui_settings, page_name): type = page_settings['type'] if type == 'file': route_name = f'pgwui_common.{page_name}' - with config.route_prefix_context(None): - config.add_route(route_name, page_settings['url_path']) + config.add_route(route_name, page_settings['url_path']) config.add_view(pgwui_common.views.page_views.PageViewer, attr=page_name, route_name=route_name) -- 2.34.1