added build args and variables
Some checks are pending
Main / build-and-push-docker-image (20.x) (push) Has started running
Some checks are pending
Main / build-and-push-docker-image (20.x) (push) Has started running
This commit is contained in:
@@ -58,7 +58,7 @@ const { handleRequest } = createYoga<NextContext>({
|
||||
}),
|
||||
|
||||
// While using Next.js file convention for routing, we need to configure Yoga to use the correct endpoint
|
||||
graphqlEndpoint: "/api/graphql",
|
||||
graphqlEndpoint: process.env.NEXT_PUBLIC_GRAPHQL_URL || "/api/graphql",
|
||||
|
||||
// Yoga needs to know how to create a valid Next response
|
||||
fetchAPI: { Response },
|
||||
|
||||
Reference in New Issue
Block a user