mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-07-21 02:30:31 +00:00
Whitelist yml and tml extensions
This commit is contained in:
parent
1f946bd94e
commit
8f5eaee952
1 changed files with 1 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue