import prepareHandler from '@api/shared/prepare-handler.middleware' ; import apolloServer from '@api/apollo/apollo-server' ; export const config = { api : { bodyParser : false , } , } ; export default prepareHandler ( apolloServer . createHandler ( { path : '/api/graphql' } ) ) ;