mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-21 02:04:26 +08:00
remove unused code
This commit is contained in:
@@ -90,7 +90,6 @@ 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")
|
||||||
|
|||||||
Reference in New Issue
Block a user