update
This commit is contained in:
parent
b32cca1d48
commit
6ce99d1dac
@ -68,7 +68,6 @@ function getUrl (req, res) {
|
|||||||
data += chunk;
|
data += chunk;
|
||||||
});
|
});
|
||||||
response.on('end', () => {
|
response.on('end', () => {
|
||||||
logger.error('>> END!!', response.statusCode);
|
|
||||||
if (response.statusCode !== 302 && response.statusCode !== 301)
|
if (response.statusCode !== 302 && response.statusCode !== 301)
|
||||||
callback(data);
|
callback(data);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user