From 6387ac8fc8d368f91290baba9a2251c28d5efa0e Mon Sep 17 00:00:00 2001 From: amvanbaren Date: Mon, 6 Mar 2023 08:46:14 +0000 Subject: [PATCH] Add namespace route to frontedRoutes --- .../main/java/org/eclipse/openvsx/security/SecurityConfig.java | 2 +- server/src/main/java/org/eclipse/openvsx/web/WebConfig.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/org/eclipse/openvsx/security/SecurityConfig.java b/server/src/main/java/org/eclipse/openvsx/security/SecurityConfig.java index c2fe87faf..7fbf5214d 100644 --- a/server/src/main/java/org/eclipse/openvsx/security/SecurityConfig.java +++ b/server/src/main/java/org/eclipse/openvsx/security/SecurityConfig.java @@ -28,7 +28,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter { @Autowired OAuth2UserServices userServices; - @Value("${ovsx.webui.frontendRoutes:/extension/**,/user-settings/**,/admin-dashboard/**}") + @Value("${ovsx.webui.frontendRoutes:/extension/**,/namespace/**,/user-settings/**,/admin-dashboard/**}") String[] frontendRoutes; @Override diff --git a/server/src/main/java/org/eclipse/openvsx/web/WebConfig.java b/server/src/main/java/org/eclipse/openvsx/web/WebConfig.java index 1a1873913..8835c85c6 100644 --- a/server/src/main/java/org/eclipse/openvsx/web/WebConfig.java +++ b/server/src/main/java/org/eclipse/openvsx/web/WebConfig.java @@ -30,7 +30,7 @@ public class WebConfig implements WebMvcConfigurer { @Value("${ovsx.webui.url:}") String webuiUrl; - @Value("${ovsx.webui.frontendRoutes:/extension/**,/user-settings/**,/admin-dashboard/**}") + @Value("${ovsx.webui.frontendRoutes:/extension/**,/namespace/**,/user-settings/**,/admin-dashboard/**}") String[] frontendRoutes; @Override