From 97870ddc4b18164834cb391f6b5d01f27eeac561 Mon Sep 17 00:00:00 2001 From: jabuxas Date: Thu, 17 Oct 2024 00:23:26 -0300 Subject: [PATCH] feat: add support for fish scripts --- file_display.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file_display.go b/file_display.go index 3be0ba7..b449fef 100644 --- a/file_display.go +++ b/file_display.go @@ -29,7 +29,7 @@ var extensions = map[string]string{ ".log": "text", ".txt": "text", ".csv": "text", ".json": "text", ".env": "text", ".sum": "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) {