From 85fd903f143921d7c9a324ec4a795fc9137534ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=82=A5=E7=BE=8A?= Date: Sun, 4 Jun 2023 09:50:38 +0800 Subject: [PATCH] Update main.go --- Golang/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Golang/main.go b/Golang/main.go index 19c8a27..c0a0577 100644 --- a/Golang/main.go +++ b/Golang/main.go @@ -107,7 +107,7 @@ func setupRouter(adurl string) *gin.Engine { r.GET("/yylunbo.m3u", func(c *gin.Context) { yylistobj := &list.Yylist{} c.Writer.Header().Set("Content-Type", "application/octet-stream") - c.Writer.Header().Set("Content-Disposition", "attachment; filename=douyuyqk.m3u") + c.Writer.Header().Set("Content-Disposition", "attachment; filename=yylunbo.m3u") getTestVideoUrl(c) i := 1