impress-2020/api/graphql.js

6 lines
204 B
JavaScript
Raw Normal View History

const { ApolloServer } = require("../src/server/lib/apollo-server-vercel");
const { config } = require("../src/server");
const server = new ApolloServer(config);
module.exports = server.createHandler();