mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
13 lines
298 B
JavaScript
13 lines
298 B
JavaScript
|
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);
|
||
|
}
|
||
|
}
|
||
|
};
|