xiongzhu 7 ani în urmă
părinte
comite
a363888e25

+ 2 - 1
.gitignore

@@ -3,4 +3,5 @@
 .idea
 node_modules/
 /target
-*.iml
+*.iml
+/src/main/webapp/static

+ 1 - 1
src/main/java/com/izouma/awesomeadmin/web/MainController.java

@@ -18,7 +18,7 @@ import javax.servlet.http.HttpServletRequest;
 public class MainController {
 
 
-    @RequestMapping(value = "/index", method = RequestMethod.GET)
+    @RequestMapping(value = {"/index", "/"}, method = RequestMethod.GET)
     @ResponseBody
     public ModelAndView home() {
         return new ModelAndView("redirect:/admin");