qinglong/back/api/index.ts
2021-03-15 21:09:30 +08:00

13 lines
231 B
TypeScript

import { Router } from 'express';
import auth from './auth';
import cookie from './cookie';
import config from './config';
export default () => {
const app = Router();
auth(app);
cookie(app);
config(app);
return app;
};