You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011
  1. const HealthRoute = require('../routes/health/get')
  2. const HealthService = require('../services/health')
  3. module.exports = {
  4. name: 'health-plugin',
  5. version: '1.0.0',
  6. register: async (server, options) => {
  7. await server.registerService(HealthService)
  8. await server.route(HealthRoute)
  9. },
  10. }