mirror of
https://github.com/kataras/iris.git
synced 2025-02-09 02:34:55 +01:00
fix miss content type occurred by commenting this on the previous commit
Former-commit-id: 3320cf863da92cb70f74b046a6a2475f83728932
This commit is contained in:
parent
56215eeb71
commit
2d8652d7fb
|
@ -829,7 +829,7 @@ func serveFile(ctx context.Context, fs http.FileSystem, name string, redirect bo
|
||||||
|
|
||||||
// try to find and send the correct content type based on the filename
|
// try to find and send the correct content type based on the filename
|
||||||
// and the binary data inside "f".
|
// and the binary data inside "f".
|
||||||
// detectOrWriteContentType(ctx, d.Name(), f)
|
detectOrWriteContentType(ctx, d.Name(), f)
|
||||||
|
|
||||||
return "", http.StatusOK
|
return "", http.StatusOK
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user