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