Skip to content

Commit

Permalink
Remove a function that was not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
xyproto committed Jun 25, 2024
1 parent b5fa89a commit ee1ce08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
3 changes: 2 additions & 1 deletion engine/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ func New(versionString, description string) (*Config, error) {
if err := ac.initFilesAndCache(); err != nil {
return nil, err
}
ac.initializeMime()
// Read in the mimetype information from the system. Set UTF-8 when setting Content-Type.
ac.mimereader = mime.New("/etc/mime.types", true)
ac.setupLogging()

// File stat cache
Expand Down
10 changes: 0 additions & 10 deletions engine/mime.go

This file was deleted.

0 comments on commit ee1ce08

Please sign in to comment.