1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 22:20:06 +02:00
copilot/legacy/docker-graphql/src/endpoint.js

9 lines
179 B
JavaScript
Raw Normal View History

2016-10-20 04:14:26 +03:00
const graphqlHTTP = require('express-graphql');
const schema = require('./schema');
module.exports = graphqlHTTP(() => ({
schema: schema,
graphiql: true,
pretty: true
}));