1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-03 00:20:04 +02:00
copilot/spikes/metrics-service/graphql/src/plugins.js
2016-11-04 17:11:35 +00:00

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'
}
}
}
];