8295bd6882
this shall be a progressive process
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'
|
|
}
|
|
}
|
|
}
|
|
];
|