Skip to content

Commit 2803074

Browse files
committed
访问链接修改
1 parent c76b979 commit 2803074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thymeleaf/src/main/java/info/xiaomo/thymeleaf/controller/ThymeleafController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
@Controller
2222
public class ThymeleafController {
2323

24-
@RequestMapping("hello")
24+
@RequestMapping("/")
2525
public String hello(ModelMap map) {
2626
map.put("hello", "使用thymeleaf!");
2727
return "index";

0 commit comments

Comments
 (0)