From cdeac8fa504bd740f2c81cff24b9fd6f3ee4ae05 Mon Sep 17 00:00:00 2001 From: CareyWong Date: Thu, 28 May 2020 11:19:44 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9Aremove=20response=20header?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 25ca9a7..4958914 100644 --- a/main.go +++ b/main.go @@ -124,7 +124,7 @@ func main() { } res.ShortUrl = protocol + *domain + "/" + shortKey - context.Header("Access-Control-Allow-Origin", "*") + // context.Header("Access-Control-Allow-Origin", "*") context.JSON(200, *res) })