From f1500fb0f2887810e5160add402f961c8f3bdd05 Mon Sep 17 00:00:00 2001 From: qydysky Date: Tue, 8 Jun 2021 16:58:26 +0800 Subject: [PATCH] =?utf8?q?=E5=91=BD=E4=BB=A4=E8=A1=8C=20rec=E5=81=9C?= =?utf8?q?=E6=AD=A2=E6=BC=8F=E6=B4=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Reply/F.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Reply/F.go b/Reply/F.go index 81f849a..b8947fa 100644 --- a/Reply/F.go +++ b/Reply/F.go @@ -1981,7 +1981,7 @@ func init() { return } - if strings.Contains(path, filepath.Base(savestream.path)) { + if savestream.path != "" && strings.Contains(path, filepath.Base(savestream.path)) { w.Header().Set("Server", "live") if filepath.Ext(path) == `.dtmp` { if strings.Contains(path,".flv") { -- 2.39.2