feat: add support for fish scripts
This commit is contained in:
parent
35b1b183b2
commit
a36cec5cb1
@ -29,7 +29,7 @@ var extensions = map[string]string{
|
|||||||
".log": "text", ".txt": "text", ".csv": "text",
|
".log": "text", ".txt": "text", ".csv": "text",
|
||||||
".json": "text", ".env": "text", ".sum": "text",
|
".json": "text", ".env": "text", ".sum": "text",
|
||||||
".gitignore": "text", ".dockerfile": "text", ".Makefile": "text",
|
".gitignore": "text", ".dockerfile": "text", ".Makefile": "text",
|
||||||
".rst": "text", ".el": "text",
|
".rst": "text", ".el": "text", ".fish": "text",
|
||||||
}
|
}
|
||||||
|
|
||||||
func DisplayFile(app *Application, file string, w http.ResponseWriter) {
|
func DisplayFile(app *Application, file string, w http.ResponseWriter) {
|
||||||
|
Loading…
Reference in New Issue
Block a user