extract commit update js into a separate file

This commit is contained in:
Michael Nutt
2014-03-02 00:43:20 -05:00
parent 4689d53305
commit b2965bf432
8 changed files with 337 additions and 104 deletions

View File

@@ -111,6 +111,7 @@ func setupDatabase() {
func setupStatic() {
box := rice.MustFindBox("assets")
http.Handle("/css/", http.FileServer(box.HTTPBox()))
http.Handle("/js/", http.FileServer(box.HTTPBox()))
// we need to intercept all attempts to serve images
// so that we can add a cache-control settings