egirlskey/src/server/activitypub/index.ts

15 lines
241 B
TypeScript
Raw Normal View History

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