From c16627e7d3d0e3aa7cf10b9545d3fcd6a289b615 Mon Sep 17 00:00:00 2001 From: Andrew Lalis Date: Tue, 31 May 2022 15:24:48 +0200 Subject: [PATCH] Fixed infinite redirect bug. --- pom.xml | 2 +- .../java/nl/andrewl/railsignalapi/page/IndexPageController.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index f8b2d0b..75e541f 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ nl.andrewl rail-signal-api - 2.0.1 + 2.0.2 rail-signal-api A simple API for tracking rail traffic in signalled blocks. diff --git a/src/main/java/nl/andrewl/railsignalapi/page/IndexPageController.java b/src/main/java/nl/andrewl/railsignalapi/page/IndexPageController.java index 356e8ac..02dfce2 100644 --- a/src/main/java/nl/andrewl/railsignalapi/page/IndexPageController.java +++ b/src/main/java/nl/andrewl/railsignalapi/page/IndexPageController.java @@ -9,7 +9,7 @@ import org.springframework.web.bind.annotation.RequestMapping; * web app's index page. */ @Controller -@RequestMapping(path = {"/", "/app", "/app/**", "/home", "/index.html", "/index"}) +@RequestMapping(path = {"/", "/app", "/app/about", "/home", "/index.html", "/index"}) public class IndexPageController { @GetMapping public String getIndex() {