Commit 20b582e3 by Li Feifei

debug

parent a4a7e88c
Pipeline #15621 passed with stages
in 38 seconds
...@@ -93,7 +93,5 @@ func (f *parser) docType() string { ...@@ -93,7 +93,5 @@ func (f *parser) docType() string {
// 获取文件mine // 获取文件mine
func (f *parser) mineType() string { func (f *parser) mineType() string {
mineType := mime.TypeByExtension(f.ext) return strings.Trim(mime.TypeByExtension(f.ext), "")
fmt.Println("ext == ", f.ext, " mine == ", mineType)
return mineType
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment