mirror of
https://github.com/yldio/copilot.git
synced 2024-12-01 07:30:07 +02:00
9 lines
179 B
JavaScript
9 lines
179 B
JavaScript
const graphqlHTTP = require('express-graphql');
|
|
const schema = require('./schema');
|
|
|
|
module.exports = graphqlHTTP(() => ({
|
|
schema: schema,
|
|
graphiql: true,
|
|
pretty: true
|
|
}));
|