新增一个路径
This commit is contained in:
parent
3314f37ab9
commit
939cc491e1
|
@ -20,7 +20,7 @@ class HomeController {
|
||||||
@Autowired
|
@Autowired
|
||||||
lateinit var service: HomeService
|
lateinit var service: HomeService
|
||||||
|
|
||||||
@GetMapping(path = ["/", "/api/"])
|
@GetMapping(path = ["/", "/api/", "/home/api/"])
|
||||||
fun home(resp: ServerHttpResponse): Mono<Void> {
|
fun home(resp: ServerHttpResponse): Mono<Void> {
|
||||||
// resp.statusCode = HttpStatus.FOUND
|
// resp.statusCode = HttpStatus.FOUND
|
||||||
// resp.headers.location = URI.create("/oAuth/")
|
// resp.headers.location = URI.create("/oAuth/")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user