From b91409a2b641a628393c634fc59179b7105ba501 Mon Sep 17 00:00:00 2001 From: GochoMugo Date: Thu, 7 Dec 2017 13:05:48 +0300 Subject: [PATCH] test: Fix path to ssl key, cert --- test/telegram.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/telegram.js b/test/telegram.js index c23b3bf..a0de9ff 100644 --- a/test/telegram.js +++ b/test/telegram.js @@ -38,9 +38,9 @@ const pollingPort2 = portindex++; const webHookPort2 = portindex++; const badTgServerPort = portindex++; 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 cert = `${__dirname}/../examples/crt.pem`; const lat = 47.5351072; const long = -52.7508537; const FILE_PATH = `${__dirname}/data/photo.gif`;