build: 提供一个/login 重定向到主页
This commit is contained in:
parent
c7a1c7f937
commit
d2ed865d63
|
@ -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";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue