Node.js based forum software built for the modern web
lint: no ++
Barış Soner Uşaklıf942a35342d3
diff --git a/src/request.js b/src/request.jsindex 9c6080fba2..64c7dbd872 100644--- a/src/request.js+++ b/src/request.js@@ -137,7 +137,7 @@ async function call(url, method, { body, timeout, jar, ...config } = {}) {// Handle redirectsif (config.redirect !== 'manual' && [301, 302, 307, 308].includes(response.status)) {- redirectCount++;+ redirectCount += 1;const location = response.headers.get('location');if (!location) break;