0
0
switched/src/server/activitypub/index.ts

17 lines
289 B
TypeScript
Raw Normal View History

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