joyent-portal/legacy/spikes/metrics-service/graphql/src/plugins.js
Sérgio Ramos 8295bd6882 chore: initial lerna setup
this shall be a progressive process
2017-05-25 10:56:50 +01: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'
}
}
}
];