0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/server/apps/members/index.js

13 lines
298 B
JavaScript
Raw Normal View History

const membersService = require('../../services/members');
const labs = require('../../services/labs');
module.exports = {
activate() {},
setupMiddleware(router) {
if (labs.isSet('members')) {
router.use('/members', membersService.api.staticRouter);
}
}
};