Compare commits
1 Commits
master
...
serverside
Author | SHA1 | Date | |
---|---|---|---|
|
124fac661d |
@ -30,9 +30,9 @@ const cache = apicache.middleware;
|
|||||||
|
|
||||||
// app.use(cache('15 minutes'));
|
// app.use(cache('15 minutes'));
|
||||||
|
|
||||||
const ips = ['212.71.255.44', '82.35.75.161', '54.146.189.113', '52.90.194.191', '52.71.167.171'];
|
const ips = ['212.71.255.44', '82.35.75.161', '54.146.189.113', '52.90.194.191', '52.71.167.171', '81.187.43.39'];
|
||||||
|
|
||||||
ips.push('82.46.161.156'); // flat
|
ips.push('82.46.152.131'); // flat
|
||||||
|
|
||||||
// 54.146.189.113, 52.90.194.191, 52.71.167.171 is for ifttt
|
// 54.146.189.113, 52.90.194.191, 52.71.167.171 is for ifttt
|
||||||
|
|
||||||
@ -246,7 +246,7 @@ function getUrlV2(req, res) {
|
|||||||
|
|
||||||
request({
|
request({
|
||||||
'url' : theUrl,
|
'url' : theUrl,
|
||||||
'proxy' : 'http://us-wa.proxymesh.com:31280',
|
'proxy' : 'us-wa.proxymesh.com:31280',
|
||||||
'tunnel' : true
|
'tunnel' : true
|
||||||
}, (err, _res, body) => {
|
}, (err, _res, body) => {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
|
Loading…
Reference in New Issue
Block a user