test: Fix path to ssl key, cert

release
GochoMugo 8 years ago
parent 455a93cacb
commit b91409a2b6
No known key found for this signature in database
GPG Key ID: 7B6A01CB57AA39E4
  1. 4
      test/telegram.js

@ -38,9 +38,9 @@ const pollingPort2 = portindex++;
const webHookPort2 = portindex++; const webHookPort2 = portindex++;
const badTgServerPort = portindex++; const badTgServerPort = portindex++;
const staticUrl = `http://127.0.0.1:${staticPort}`; const staticUrl = `http://127.0.0.1:${staticPort}`;
const key = `${__dirname}/../examples/key.pem`; const key = `${__dirname}/../examples/ssl/key.pem`;
const cert = `${__dirname}/../examples/ssl/crt.pem`;
const ip = '216.58.210.174'; // Google IP ¯\_(ツ)_/¯ const ip = '216.58.210.174'; // Google IP ¯\_(ツ)_/¯
const cert = `${__dirname}/../examples/crt.pem`;
const lat = 47.5351072; const lat = 47.5351072;
const long = -52.7508537; const long = -52.7508537;
const FILE_PATH = `${__dirname}/data/photo.gif`; const FILE_PATH = `${__dirname}/data/photo.gif`;

Loading…
Cancel
Save