egirlskey/src/server/activitypub/index.ts

17 lines
289 B
TypeScript
Raw Normal View History

2018-04-01 06:58:49 +00:00
import * as express from 'express';
import user from './user';
import inbox from './inbox';
2018-04-01 10:18:36 +00:00
import outbox from './outbox';
import post from './post';
2018-04-01 06:58:49 +00:00
const app = express();
app.disable('x-powered-by');
app.use(user);
app.use(inbox);
2018-04-01 10:18:36 +00:00
app.use(outbox);
app.use(post);
2018-04-01 06:58:49 +00:00
export default app;