mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-09 19:52:58 +00:00
Syntax error
This commit is contained in:
parent
e54646ac52
commit
59746df489
@ -107,7 +107,7 @@ func (i Info) CanBeEdited() bool {
|
|||||||
".asciidoc", ".adoc", ".ad",
|
".asciidoc", ".adoc", ".ad",
|
||||||
".rst",
|
".rst",
|
||||||
".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",
|
||||||
".js",
|
".js",
|
||||||
".html",
|
".html",
|
||||||
@ -115,7 +115,8 @@ func (i Info) CanBeEdited() bool {
|
|||||||
".sh", ".bash", ".ps1", ".bat", ".cmd",
|
".sh", ".bash", ".ps1", ".bat", ".cmd",
|
||||||
".php", ".pl", ".py",
|
".php", ".pl", ".py",
|
||||||
"Caddyfile",
|
"Caddyfile",
|
||||||
".c", ".cc" ".h" ".hh" ".cpp" ".hpp" ".f90" ".f" ".bas" ".d" ".ada" ".nim" ".cr" ".java" ".cs" ".vala" ".vapi",
|
".c", ".cc", ".h", ".hh", ".cpp", ".hpp", ".f90",
|
||||||
|
".f", ".bas", ".d", ".ada", ".nim", ".cr", ".java", ".cs", ".vala", ".vapi",
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, extension := range extensions {
|
for _, extension := range extensions {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user