build: 提供一个/login 重定向到主页

This commit is contained in:
CaptainB 2023-06-13 15:45:54 +08:00
parent c7a1c7f937
commit d2ed865d63
1 changed files with 6 additions and 0 deletions

View File

@ -9,4 +9,10 @@ public class IndexController {
public String index() { public String index() {
return "index.html"; return "index.html";
} }
@GetMapping(value = "/login")
public String login() {
return "index.html";
}
} }