Skip to content

Commit

Permalink
Fix:remove response header
Browse files Browse the repository at this point in the history
  • Loading branch information
CareyWang committed May 28, 2020
1 parent 7049271 commit cdeac8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})

Expand Down

0 comments on commit cdeac8f

Please sign in to comment.