Removing hxpress http compression

This commit is contained in:
softsimon
2020-10-27 17:42:10 +07:00
parent 396ff6a375
commit 6494d6daf8
2 changed files with 0 additions and 3 deletions

View File

@@ -1,6 +1,5 @@
import { Express, Request, Response, NextFunction } from 'express';
import * as express from 'express';
import * as compression from 'compression';
import * as http from 'http';
import * as https from 'https';
import * as WebSocket from 'ws';
@@ -66,7 +65,6 @@ class Server {
res.setHeader('Access-Control-Allow-Origin', '*');
next();
})
.use(compression())
.use(express.urlencoded({ extended: true }))
.use(express.json());