Bump versions of server / dev dependencies.
This commit is contained in:
parent
b6a67d6e74
commit
84ac9bd256
6 changed files with 550 additions and 393 deletions
server
|
@ -1,5 +1,6 @@
|
|||
import _ from "lodash"
|
||||
import auth, {BasicAuthCheckerCallback} from "http-auth"
|
||||
import authConnect from "http-auth-connect"
|
||||
import bodyParser from "body-parser"
|
||||
import compress from "compression"
|
||||
import express, {Express, NextFunction, Request, Response} from "express"
|
||||
|
@ -25,7 +26,7 @@ export function init(): void {
|
|||
);
|
||||
}
|
||||
);
|
||||
router.use('/internal', auth.connect(internalAuth));
|
||||
router.use('/internal', authConnect(internalAuth));
|
||||
|
||||
router.use(bodyParser.json());
|
||||
router.use(bodyParser.urlencoded({ extended: true }));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue