Adds a static website

This commit is contained in:
2016-01-25 10:08:56 +01:00
parent 5e83b3941d
commit 88ab821c58
5 changed files with 10 additions and 0 deletions

View File

@@ -74,5 +74,7 @@ func (a *appData) buildRouter() http.Handler {
}
})).Methods("GET")
router.PathPrefix("/").Handler(http.FileServer(http.Dir("static")))
return router
}