Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicPlayerA10 committed Aug 20, 2024
1 parent cd64f99 commit 85f2b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/filesystem/filesystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ func (fs *Filesystem) ListDirectory(p string) ([]Stat, error) {
}
var m = ""
if e.Type().IsRegular() {
// Get mimetype rom file extension
// Get mimetype from file extension
splitted := strings.Split(e.Name(), ".")
fileExtension := splitted[len(splitted)-1]
m = mime.TypeByExtension("." + fileExtension)
Expand Down

0 comments on commit 85f2b4a

Please sign in to comment.