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>
<groupId>nl.andrewl</groupId>
<artifactId>rail-signal-api</artifactId>
<version>2.0.1</version>
<version>2.0.2</version>
<name>rail-signal-api</name>
<description>A simple API for tracking rail traffic in signalled blocks.</description>
<properties>

View File

@ -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() {