[api] swagger 셋팅중
- 패스 수정
This commit is contained in:
@@ -2,11 +2,10 @@ package com.alist.api.modules.main;
|
|||||||
|
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
|
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("/")
|
|
||||||
public class MainController {
|
public class MainController {
|
||||||
|
|
||||||
@GetMapping(value = "/")
|
@GetMapping(value = "/")
|
||||||
public String index() {
|
public String index() {
|
||||||
return "redirect:/swagger-ui/index.html";
|
return "redirect:/swagger-ui/index.html";
|
||||||
|
|||||||
Reference in New Issue
Block a user