Fix:remove response header
This commit is contained in:
parent
7049271d16
commit
cdeac8fa50
2
main.go
2
main.go
@ -124,7 +124,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
res.ShortUrl = protocol + *domain + "/" + shortKey
|
res.ShortUrl = protocol + *domain + "/" + shortKey
|
||||||
|
|
||||||
context.Header("Access-Control-Allow-Origin", "*")
|
// context.Header("Access-Control-Allow-Origin", "*")
|
||||||
context.JSON(200, *res)
|
context.JSON(200, *res)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user