更新部署方式 && 合并doc文档
This commit is contained in:
1 parent
19cece0e00
commit
4dfc70ecf1
40 files changed
+398
-2102
No files matched your search
@@ -0,0 +1,12 @@
|
||||
package com.babytracker.common;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
@Controller
|
||||
public class SpaForwardController {
|
||||
@GetMapping({"/today", "/timeline", "/stats", "/settings"})
|
||||
public String forwardFrontendRoutes() {
|
||||
return "forward:/index.html";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user