fix miss content type occurred by commenting this on the previous commit

Former-commit-id: 3320cf863da92cb70f74b046a6a2475f83728932
This commit is contained in:
Gerasimos Maropoulos 2018-03-15 22:46:23 +02:00
parent 56215eeb71
commit 2d8652d7fb

View File

@ -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
}