const ActivitypubExpress = require('activitypub-express'), constant = require('../constant'), routes = { actor: '/u/:actor', object: '/o/:id', activity: '/s/:id', inbox: '/u/:actor/inbox', outbox: '/u/:actor/outbox', followers: '/u/:actor/followers', following: '/u/:actor/following', liked: '/u/:actor/liked', collections: '/u/:actor/c/:id', blocked: '/u/:actor/blocked', rejections: '/u/:actor/rejections', rejected: '/u/:actor/rejected', shares: '/s/:id/shares', likes: '/s/:id/likes' }, apex = ActivitypubExpress({ name: 'Fediblock Instance', version: '1.0.0', domain: constant.apexdomain, actorParam: 'actor', objectParam: 'id', activityParam: 'id', routes, endpoints: { proxyUrl: 'https://' + constant.apexdomain + '/proxy' }, itemsPerPage: 200 }) module.exports = { routes, apex }