Skip to content

Instantly share code, notes, and snippets.

@smoothdvd
Last active February 5, 2022 08:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smoothdvd/acf0cf2989ef1a65593ad87a86dfd260 to your computer and use it in GitHub Desktop.
Save smoothdvd/acf0cf2989ef1a65593ad87a86dfd260 to your computer and use it in GitHub Desktop.
server/index.js
'use strict';
const register = require('@strapi/plugin-users-permissions/server/register');
const bootstrap = require('./bootstrap');
const contentTypes = require('@strapi/plugin-users-permissions/server/content-types');
const middlewares = require('@strapi/plugin-users-permissions/server/middlewares');
const services = require('./services');
const routes = require('@strapi/plugin-users-permissions/server/routes');
const controllers = require('@strapi/plugin-users-permissions/server/controllers');
const config = require('@strapi/plugin-users-permissions/server/config');
module.exports = () => ({
register,
bootstrap,
config,
routes,
controllers,
contentTypes,
middlewares,
services,
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment