Fixed compression import typo.
This commit is contained in:
@@ -9,7 +9,7 @@ if (process.env.NODE_ENV !== "production") require("dotenv").config();
|
||||
const app = express();
|
||||
const port = process.env.PORT || 5000;
|
||||
|
||||
app.use(compression);
|
||||
app.use(compression());
|
||||
app.use(bodyParser.json());
|
||||
app.use(bodyParser.urlencoded({ extended: true }));
|
||||
app.use(enforce.HTTPS({ trustProtoHeader: true }));
|
||||
|
||||
Reference in New Issue
Block a user