impress-2020/api/graphql.js
2020-04-22 14:02:23 -07:00

5 lines
200 B
JavaScript

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