mirror of
https://github.com/kataras/iris.git
synced 2026-01-09 21:15:56 +00:00
fix miss content type occurred by commenting this on the previous commit
Former-commit-id: 3320cf863da92cb70f74b046a6a2475f83728932
This commit is contained in:
@@ -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
|
||||
// and the binary data inside "f".
|
||||
// detectOrWriteContentType(ctx, d.Name(), f)
|
||||
detectOrWriteContentType(ctx, d.Name(), f)
|
||||
|
||||
return "", http.StatusOK
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user