diff --git a/main.go b/main.go index 8c0f7fb..73241ac 100644 --- a/main.go +++ b/main.go @@ -128,7 +128,7 @@ func Files(c echo.Context) error { ImageMatch := regexp.MustCompile("^image/.*") VideoMatch := regexp.MustCompile("^video/.*") JsonMatch := regexp.MustCompile("application/json") - TextMatch := regexp.MustCompile("^text/.*|application/octet-stream") + TextMatch := regexp.MustCompile("^text/.*") for _, f := range filelist { filePath := "files/" + f.Name()