thani-sh/go-graphiql

If graphql Endpoint is set with another port or domain, we have block by a cross origin error

Opened this issue · 0 comments

I use google.golang.org/grpc and I launch grpc server on other port, then I have this error:

Blocking a Cross-origin request: the "Same origin" policy does not allow you to view the remote resource located at http://127.0.0.1:8084/. Reason: The "Access-Control-Allow-Origin" Corn header is missing.