mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-02-06 00:42:50 +00:00
refactor: update dependencies
This commit is contained in:
@@ -15,11 +15,11 @@
|
||||
|
||||
import {Converter} from '@openstapps/core-tools/lib/schema';
|
||||
import {Logger} from '@openstapps/logger';
|
||||
import * as express from 'express';
|
||||
import express from 'express';
|
||||
import * as http from 'http';
|
||||
import * as http2 from 'http2';
|
||||
import {Schema} from 'jsonschema';
|
||||
import * as morgan from 'morgan';
|
||||
import morgan from 'morgan';
|
||||
import ErrnoException = NodeJS.ErrnoException;
|
||||
|
||||
/**
|
||||
@@ -143,7 +143,7 @@ export abstract class Plugin {
|
||||
|
||||
this.app.set('env', process.env.NODE_ENV);
|
||||
|
||||
this.app.all('*', async (req, res) => {
|
||||
this.app.all('*', async (req: express.Request, res: express.Response) => {
|
||||
if (this.active) {
|
||||
await this.onRouteInvoke(req, res);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user