diff --git a/main.go b/main.go index e4e6e57..42829bf 100644 --- a/main.go +++ b/main.go @@ -251,9 +251,7 @@ func apiStream(e echo.Context, directory, url string) error { for _, file := range files { if file.RelativePath == path { - // stat, _ := os.Stat(file.Path) e.Response().Header().Del("Content-Length") - // e.Response().Header().Set("Content-Length", string(stat.Size())) http.ServeFile(e.Response(), e.Request(), file.Path) } }