Actuall serve static files

This commit is contained in:
jacob1123 committed 2016-12-03 20:14:46 +01:00
1 parent 825bf7be04
commit 637efda810
1 file changed
+1 -2
+1 -2
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())