added current flat ip
This commit is contained in:
parent
e8ea83136c
commit
312d1c7310
@ -28,9 +28,11 @@ const cache = apicache.middleware;
|
||||
|
||||
// app.use(cache('15 minutes'));
|
||||
|
||||
const ips = ['212.71.255.44', '82.35.75.161', '54.146.189.113', '52.90.194.191'];
|
||||
const ips = ['212.71.255.44', '82.35.75.161', '54.146.189.113', '52.90.194.191', '52.71.167.171'];
|
||||
|
||||
// 54.146.189.113, 52.90.194.191 is for ifttt
|
||||
ips.push('82.46.161.156'); // flat
|
||||
|
||||
// 54.146.189.113, 52.90.194.191, 52.71.167.171 is for ifttt
|
||||
|
||||
const complexUrls = new Map();
|
||||
|
||||
@ -125,7 +127,7 @@ function getUrl (req, res) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (theUrl !== firstUrl)
|
||||
if (theUrl !== firstUrl)
|
||||
logger.info(`>>> Using ${theUrl} instead of ${firstUrl}`);
|
||||
|
||||
const options = urlparser.parse(theUrl);
|
||||
|
Loading…
Reference in New Issue
Block a user