mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
add exception to golang
This commit is contained in:
parent
b517d47a84
commit
6b0a132161
@ -35,6 +35,8 @@ func GetEditor(i *file.Info) (*Editor, error) {
|
||||
editor.Mode = "html"
|
||||
case "js":
|
||||
editor.Mode = "javascript"
|
||||
case "go":
|
||||
editor.Mode = "golang"
|
||||
}
|
||||
|
||||
var page parser.Page
|
||||
|
Loading…
Reference in New Issue
Block a user