瀏覽代碼

remove debug logs

tags/v0.9.0
jimzhan 9 年之前
父節點
當前提交
31de03abff
共有 1 個檔案被更改,包括 0 行新增6 行删除
  1. +0
    -6
      middleware/static.go

+ 0
- 6
middleware/static.go 查看文件

@@ -4,8 +4,6 @@ import (
"net/http"
"path"
"strings"

"github.com/Sirupsen/logrus"
)

// Static serves as file server for static assets,
@@ -69,10 +67,6 @@ func Static(dir string) func(http.Handler) http.Handler {
}

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

Loading…
取消
儲存