mirror of
https://github.com/yldio/copilot.git
synced 2024-11-14 07:10:05 +02:00
8 lines
178 B
JavaScript
8 lines
178 B
JavaScript
|
const graphqlHTTP = require('express-graphql');
|
||
|
const schema = require('./schema');
|
||
|
|
||
|
module.exports = graphqlHTTP(() => ({
|
||
|
schema: schema,
|
||
|
graphiql: true,
|
||
|
pretty: true
|
||
|
}));
|