impress-2020/api/graphql.js
2020-04-25 23:04:49 -07:00

5 lines
204 B
JavaScript

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