ExpressJsonMiddleware.ts 250 B

12345678910
  1. import { Middleware } from '../base/http';
  2. import express from 'express';
  3. class ExpressJsonMiddleware extends Middleware {
  4. protected order = -100;
  5. protected route = null;
  6. protected action = express.json();
  7. }
  8. export default ExpressJsonMiddleware;