mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
Whitelist yml and tml extensions
This commit is contained in:
parent
1f946bd94e
commit
8f5eaee952
1
file.go
1
file.go
@ -419,6 +419,7 @@ var textExtensions = [...]string{
|
|||||||
".md", ".markdown", ".mdown", ".mmark",
|
".md", ".markdown", ".mdown", ".mmark",
|
||||||
".asciidoc", ".adoc", ".ad",
|
".asciidoc", ".adoc", ".ad",
|
||||||
".rst",
|
".rst",
|
||||||
|
".tml", ".yml",
|
||||||
".json", ".toml", ".yaml", ".csv", ".xml", ".rss", ".conf", ".ini",
|
".json", ".toml", ".yaml", ".csv", ".xml", ".rss", ".conf", ".ini",
|
||||||
".tex", ".sty",
|
".tex", ".sty",
|
||||||
".css", ".sass", ".scss",
|
".css", ".sass", ".scss",
|
||||||
|
Loading…
Reference in New Issue
Block a user