diff --git a/src/app/Console/Commands/longpolling.php b/src/app/Console/Commands/longpolling.php index 614d6cf..0367030 100644 --- a/src/app/Console/Commands/longpolling.php +++ b/src/app/Console/Commands/longpolling.php @@ -41,7 +41,7 @@ public function handle() $this->info('Webhook address: ' . $url.config('laragram.url')); file_get_contents("https://api.telegram.org/bot" . $token . "/setWebhook?url=" . $url.config('laragram.url')); - $setUrl = \Milly\Laragram\Laragram::setUrl($url.config('laragram.url')); + $setUrl = \Milly\Laragram\Laragram::setUrl($url); $this->info('Webhook was successfully set'); $this->call('serve'); }