diff --git a/core/router/fs.go b/core/router/fs.go index 3ee901ba..a8109ec5 100644 --- a/core/router/fs.go +++ b/core/router/fs.go @@ -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 }