Imports bootstrap and angular

This commit is contained in:
2016-01-25 16:23:33 +01:00
parent f4c30e2b0e
commit 9095a71f7a
18 changed files with 8012 additions and 1 deletions

View File

@@ -121,7 +121,7 @@ func (a *appData) buildRouter() http.Handler {
})))
dirs := []string{"css", "js", "img"}
dirs := []string{"css", "js", "img", "fonts"}
for _, d := range dirs {
router.ServeFiles(path.Join("/", d, "/*filepath"), http.Dir(filepath.Join("static", d)))
}