https works again + url mapping testing

This commit is contained in:
2020-03-24 09:59:40 +01:00
parent 75b4f242bb
commit 6fb4010ac1
2 changed files with 5 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
#Thu Mar 19 15:31:37 CET 2020
distributionUrl=http\://services.gradle.org/distributions/gradle-5.6.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStorePath=wrapper/dists

View File

@@ -8,10 +8,13 @@ import org.springframework.web.bind.annotation.RestController;
public class BasicRestController {
@RequestMapping("/")
@RequestMapping("/stage-frontend")
public String index() {
return "it works!";
}
@RequestMapping("/stage-frontend")
public String index2() { return "it do work"; }
}