Skip to content

Commit

Permalink
allow access origin from any
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehyar-ALS committed Nov 25, 2023
1 parent 837c16f commit c207ddd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ func main() {
return
}

c.Header("Access-Control-Allow-Origin", "*")
c.PureJSON(200, resp)
})

Expand Down

0 comments on commit c207ddd

Please sign in to comment.