graphiql UI is broken for Serverless/AWS-Lambda setup

475 Views Asked by At

Here's a reference setup of AWS Lambda and Serverless and GraphQL that i'm following:

https://github.com/serverless/serverless-graphql-apollo

I'm trying with yarn run start-server-lambda:offline to start the project offline, it does start without any problems, but upon navigating to /graphiql, I get this:

enter image description here

1

There are 1 best solutions below

2
On BEST ANSWER

There's a configuration problem somewhere.

Basically, it's sending a request to /production/graphql when it should have been sending it to /graphql.