Browse Source

remove debug logs

tags/v0.9.0
jimzhan 9 years ago
parent
commit
31de03abff
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      middleware/static.go

+ 0
- 6
middleware/static.go View File

"net/http" "net/http"
"path" "path"
"strings" "strings"

"github.com/Sirupsen/logrus"
) )


// Static serves as file server for static assets, // Static serves as file server for static assets,
} }


http.ServeContent(w, r, filename, stat.ModTime(), file) http.ServeContent(w, r, filename, stat.ModTime(), file)
var header = w.Header()
for key, values := range header {
logrus.Infof("%s: %v", key, values)
}
}) })
} }
} }

Loading…
Cancel
Save