Fix deprecated use of bodyParser.
This commit is contained in:
parent
9b4b17b326
commit
48851d422a
@ -2,7 +2,7 @@ import type { Router, RequestHandler, Request, Response, NextFunction } from 'ex
|
||||
import type { ProxyOptions } from 'express-http-proxy'
|
||||
import { getBaseRouter } from '../helpers'
|
||||
import * as path from 'path'
|
||||
import * as bodyParser from 'body-parser'
|
||||
const bodyParser = require('body-parser')
|
||||
|
||||
const fs = require('fs').promises
|
||||
const proxy = require('express-http-proxy')
|
||||
|
Loading…
x
Reference in New Issue
Block a user