Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

health.js 316B

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. }