Fixed infinite redirect bug.
This commit is contained in:
parent
71ca7b4467
commit
c16627e7d3
2
pom.xml
2
pom.xml
|
@ -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>
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue