From 384637d109f944fd47438ff8b25d2aa814596822 Mon Sep 17 00:00:00 2001 From: Ino de Bruijn Date: Wed, 21 Feb 2024 11:38:43 -0500 Subject: [PATCH] Fix News Page redirect (#10658) * Fix News Page redirect Fix https://github.com/cBioPortal/cbioportal/issues/10632. Use frontend's existing redirect logic: https://github.com/cBioPortal/cbioportal-frontend/pull/4342 --- src/main/java/org/cbioportal/WebAppConfig.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/cbioportal/WebAppConfig.java b/src/main/java/org/cbioportal/WebAppConfig.java index f721fbd11eb..02296633c05 100644 --- a/src/main/java/org/cbioportal/WebAppConfig.java +++ b/src/main/java/org/cbioportal/WebAppConfig.java @@ -59,7 +59,8 @@ public void addViewControllers(ViewControllerRegistry registry) { "/encodedRedirect", "/datasets**", "/ln**", - "/webAPI**" + "/webAPI**", + "/news**" ); endpoints.forEach( route -> registry.addViewController(route).setViewName(SINGLE_PAGE_APP_ROOT));