Uses bower instead of sources checkout

This commit is contained in:
2016-02-11 13:33:40 +01:00
parent 0b279575e8
commit 8b75f980dd
24 changed files with 54 additions and 8076 deletions

View File

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