Skip to content

Commit

Permalink
make file readable by default to match with the previous mimetype lib…
Browse files Browse the repository at this point in the history
…rary
  • Loading branch information
EpicPlayerA10 committed Sep 13, 2024
1 parent 9ce4212 commit a12f37f
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 @@ -432,7 +432,7 @@ func (fs *Filesystem) ListDirectory(p string) ([]Stat, error) {
if e.Type().IsDir() {
d = "inode/directory"
} else {
d = "application/octet-stream"
d = "text/plain"
}
var m = ""
if e.Type().IsRegular() {
Expand Down

0 comments on commit a12f37f

Please sign in to comment.