Skip to content

Commit

Permalink
Go
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Jul 27, 2022
1 parent 2a428dc commit a6e193b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/aws-lambda/lambda/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ import type { Handler } from '@aws-cdk/aws-lambda'
import { createYoga } from 'graphql-yoga'
import { configure } from '@vendia/serverless-express'

const app = createYoga()
const app = createYoga({
graphqlEndpoint: '/stage/graphql',
})

export const handler: Handler = configure({
app,
graphqlEndpoint: '/stage/graphql',
log: app.logger,
})

0 comments on commit a6e193b

Please sign in to comment.