Fixed infinite redirect bug.

This commit is contained in:
Andrew Lalis 2022-05-31 15:24:48 +02:00
parent 71ca7b4467
commit c16627e7d3
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
</parent> </parent>
<groupId>nl.andrewl</groupId> <groupId>nl.andrewl</groupId>
<artifactId>rail-signal-api</artifactId> <artifactId>rail-signal-api</artifactId>
<version>2.0.1</version> <version>2.0.2</version>
<name>rail-signal-api</name> <name>rail-signal-api</name>
<description>A simple API for tracking rail traffic in signalled blocks.</description> <description>A simple API for tracking rail traffic in signalled blocks.</description>
<properties> <properties>

View File

@ -9,7 +9,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
* web app's index page. * web app's index page.
*/ */
@Controller @Controller
@RequestMapping(path = {"/", "/app", "/app/**", "/home", "/index.html", "/index"}) @RequestMapping(path = {"/", "/app", "/app/about", "/home", "/index.html", "/index"})
public class IndexPageController { public class IndexPageController {
@GetMapping @GetMapping
public String getIndex() { public String getIndex() {