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.

12345678910111213141516
  1. const Jwt = require('@hapi/jwt');
  2. const AuthStratgey = require('./auth/strategies/jwt')
  3. const UserPlugin = require('./plugins/user');
  4. const TestPlugin = require('./plugins/test');
  5. exports.plugin = {
  6. name: 'main-app-plugin',
  7. register: async (server, options) => {
  8. await server.register(TestPlugin, {})
  9. await server.register(UserPlugin, {})
  10. },
  11. }