mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-31 14:32:57 +00:00
Whitelist yml and tml extensions
Former-commit-id: aed7606c12fa705954e650ba948d891329d66dff [formerly efd4415075000737c5dc7bb5a38a78605989e05c] [formerly 5656bb7bc09285720f094b3054c70994b51aa658 [formerly 8f5eaee9522096ca113d8eef74392ba0f69286c8]] Former-commit-id: 9d774b10c85ae9456a324030f9b7b0c06e600db4 [formerly 9c7919b5e027d829364fcb658b6b9579caad51a3] Former-commit-id: 3196b0ea7f550057e411410e083a8c4f8e748240
This commit is contained in:
parent
505af7d9d7
commit
c947228ac4
1
file.go
1
file.go
@ -419,6 +419,7 @@ var textExtensions = [...]string{
|
||||
".md", ".markdown", ".mdown", ".mmark",
|
||||
".asciidoc", ".adoc", ".ad",
|
||||
".rst",
|
||||
".tml", ".yml",
|
||||
".json", ".toml", ".yaml", ".csv", ".xml", ".rss", ".conf", ".ini",
|
||||
".tex", ".sty",
|
||||
".css", ".sass", ".scss",
|
||||
|
Loading…
x
Reference in New Issue
Block a user