fixed comparison

This commit is contained in:
Vittorio Palmisano 2021-03-17 14:33:51 +01:00
parent d11eccefc0
commit 874bc6c8a9

View file

@ -93,7 +93,7 @@ app.use(sharedCookieParser);
app.use(bodyParser.json({ limit: '5mb' }));
app.use(bodyParser.urlencoded({ limit: '5mb', extended: true }));
if (config.getRequestsCachePeriod)
if (config.getRequestsCachePeriod > 0)
{
app.use((req, res, next) => {
if (req.method === 'GET')