mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 17:24:26 +08:00
remove unused code
This commit is contained in:
+1
-2
@@ -90,10 +90,9 @@ func startWebServer(c *cli.Context) error {
|
|||||||
router.Static("/css", filepath.Join(config.StaticRootPath, "css"))
|
router.Static("/css", filepath.Join(config.StaticRootPath, "css"))
|
||||||
router.Static("/img", filepath.Join(config.StaticRootPath, "img"))
|
router.Static("/img", filepath.Join(config.StaticRootPath, "img"))
|
||||||
router.Static("/fonts", filepath.Join(config.StaticRootPath, "fonts"))
|
router.Static("/fonts", filepath.Join(config.StaticRootPath, "fonts"))
|
||||||
router.Static("/lang", filepath.Join(config.StaticRootPath, "lang"))
|
|
||||||
|
|
||||||
router.GET("/", func(c *gin.Context) {
|
router.GET("/", func(c *gin.Context) {
|
||||||
c.Redirect(http.StatusMovedPermanently,"/mobile")
|
c.Redirect(http.StatusMovedPermanently, "/mobile")
|
||||||
})
|
})
|
||||||
|
|
||||||
apiRoute := router.Group("/api")
|
apiRoute := router.Group("/api")
|
||||||
|
|||||||
Reference in New Issue
Block a user