Uses bower instead of sources checkout
This commit is contained in:
@@ -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)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user