We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 209e95c commit 217d639Copy full SHA for 217d639
controllers/StaticController.go
@@ -111,7 +111,7 @@ func (this *StaticController) isMedia(path string) (yes bool) {
111
var videoOK, audioOK bool
112
ext := strings.ToLower(filepath.Ext(path))
113
_, videoOK = conf.VideoExt.Load(ext)
114
- _, audioOK = conf.VideoExt.Load(ext)
+ _, audioOK = conf.AudioExt.Load(ext)
115
return audioOK || videoOK
116
}
117
0 commit comments