This commit is contained in:
deepzz0
2016-10-02 19:30:58 +08:00
parent d4e5bf5d89
commit 0f3b3771ee
3 changed files with 7 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ func init() {
} else {
logd.Fatal(err)
}
// 测试,开启静态文件
// 开启静态文件
router.Static("/static", "./static")
router.Use(Filter())
router.NoRoute(HandleNotFound)