added build args and variables
Some checks are pending
Main / build-and-push-docker-image (20.x) (push) Has started running

This commit is contained in:
2025-12-06 20:52:00 -05:00
parent 8ae9946ef9
commit 9557833df6
3 changed files with 13 additions and 3 deletions

View File

@@ -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 },