Commit 28c46ce1c23f45c582beb5149bc0b49944fd8352

Authored by Adhidarma Hadiwinoto
1 parent 151464213d
Exists in master

webhook prefix

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -47,7 +47,7 @@ var options = {
47 47 };
48 48  
49 49 bot = new telegram(config.globals.token, options);
50   -bot.setWebHook('m2m-out26.reload97.com/bot' + config.globals.token, __dirname+'/crt.pem');
  50 +bot.setWebHook(config.globals.webhook_prefix + config.globals.token, __dirname+'/crt.pem');
51 51  
52 52 /*
53 53 var options = {