This commit is contained in:
Martin Donnelly 2017-09-11 12:20:55 +01:00
parent b32cca1d48
commit 6ce99d1dac

View File

@ -68,7 +68,6 @@ function getUrl (req, res) {
data += chunk;
});
response.on('end', () => {
logger.error('>> END!!', response.statusCode);
if (response.statusCode !== 302 && response.statusCode !== 301)
callback(data);
});