mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 14:26:58 +00:00
wip
This commit is contained in:
parent
7f2854d537
commit
05e075dd83
5 changed files with 25 additions and 23 deletions
|
@ -243,6 +243,7 @@ func (client *Client) getMimeTypeByExtension(resource string) string {
|
|||
if client.forbiddenMimeTypes[mimeTypeSplit[0]] || mimeType == "" {
|
||||
mimeType = client.defaultMimeType
|
||||
}
|
||||
log.Trace().Msgf("probe mime: %s", mimeType)
|
||||
return mimeType
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue