From f88ce014df75cc2737b07093dd0abc43b0db75c0 Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Fri, 4 Oct 2024 19:18:00 +0200 Subject: [PATCH] WebClient: update edit and preview file extensions Signed-off-by: Nicola Murino --- templates/webclient/files.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/webclient/files.html b/templates/webclient/files.html index a84deebf..8382fc6b 100644 --- a/templates/webclient/files.html +++ b/templates/webclient/files.html @@ -260,7 +260,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com). "nut", "styl", "swift", "text", "ltx", "tex", "v", "sv", "svh", "tcl", "textile", "toml", "1", "2", "3", "4", "5", "6", "7", "8", "9", "ttcn", "ttcn3", "ttcnpp", "cfg", "ttl", "ts", "tsx", "webidl", "vb", "vbs", "vtl", "vhd", "vhdl", "vue", "xml", "xsl", "xsd", "svg", "xy", "xquery", "ys", "yaml", "yml", "z80", - "mscgen", "mscin", "msc", "xu", "msgenny", "wat", "wast"]; + "mscgen", "mscin", "msc", "xu", "msgenny", "wat", "wast", "env"]; const supportedEditFilenames = ["readme", "dockerfile", "pkgbuild"] //{{- end}} function keepAlive() { @@ -687,7 +687,6 @@ explicit grant from the SFTPGo Team (support@sftpgo.com). case "webp": case "bmp": case "svg": - case "ico": let desc = escapeHTML(filename).replace(/"/g, '"'); previewDiv = `