mirror of
https://github.com/yldio/copilot.git
synced 2024-12-03 00:20:04 +02:00
16 lines
262 B
JavaScript
16 lines
262 B
JavaScript
module.exports = [
|
|
require('inert'), {
|
|
register: require('hapi-graphql'),
|
|
options: {
|
|
query: {
|
|
pretty: true,
|
|
graphiql: true,
|
|
schema: require('./schema')
|
|
},
|
|
route: {
|
|
path: '/graphql'
|
|
}
|
|
}
|
|
}
|
|
];
|