Bump versions of server / dev dependencies.

This commit is contained in:
baldo 2020-06-30 17:44:41 +02:00
parent b6a67d6e74
commit 84ac9bd256
6 changed files with 550 additions and 393 deletions
server

View file

@ -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 }));