Actuall serve static files

This commit is contained in:
Jan Bader 2016-12-03 20:11:51 +01:00
parent 825bf7be04
commit 637efda810

View File

@ -10,9 +10,8 @@ func main() {
router := gin.Default()
router.LoadHTMLGlob("./templates/*")
router.Static("/static", "./static")
// Middleware
router.Static("static", "static")
//e.Use(middleware.Logger())
//e.Use(middleware.Recover())