From 98631727794c4899ab164513bd0c79a3db08792b Mon Sep 17 00:00:00 2001 From: Yago Date: Sun, 27 Sep 2015 13:12:58 +0200 Subject: [PATCH] Update httpsWebHook.js example with cert parameter --- examples/httpsWebHook.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/httpsWebHook.js b/examples/httpsWebHook.js index cdbeefc..ed15de4 100644 --- a/examples/httpsWebHook.js +++ b/examples/httpsWebHook.js @@ -9,4 +9,4 @@ var options = { }; var bot = new TelegramBot('BOT_TOKEN', options); -bot.setWebHook('IP:PORT/botBOT_TOKEN'); +bot.setWebHook('IP:PORT/botBOT_TOKEN', __dirname+'/crt.pem');