diff --git a/graphql.go b/graphql.go index c582a93b..fa4c206f 100644 --- a/graphql.go +++ b/graphql.go @@ -60,6 +60,7 @@ func init() { } app.Post("/graphql", func(ctx *aero.Context) string { + ctx.Response().Header().Set("Access-Control-Allow-Origin", "*") body, err := ctx.Request().Body().JSONObject() if err != nil {