mirror of
https://github.com/bvanroll/stage-frontend.git
synced 2025-08-28 19:42:48 +00:00
https works again + url mapping testing
This commit is contained in:
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -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
|
||||
|
@@ -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"; }
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user