egirlskey/src/server/activitypub/index.ts

19 lines
346 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';
2018-04-01 11:07:04 +00:00
import publicKey from './publickey';
2018-04-07 17:30:37 +00:00
import note from './note';
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);
2018-04-01 11:07:04 +00:00
app.use(publicKey);
2018-04-07 17:30:37 +00:00
app.use(note);
2018-04-01 06:58:49 +00:00
export default app;