Skip to content

Commit

Permalink
Fix News Page redirect (#10658)
Browse files Browse the repository at this point in the history
* Fix News Page redirect

Fix #10632. Use frontend's existing redirect logic: cBioPortal/cbioportal-frontend#4342
  • Loading branch information
inodb authored Feb 21, 2024
1 parent c73883f commit 384637d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/cbioportal/WebAppConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 384637d

Please sign in to comment.