From b706b8b3a194e22ab29441ccf12cc9c8bd091465 Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Sun, 5 Jul 2020 19:24:25 +0800 Subject: [PATCH] telegram: fix api --- app/Services/TelegramService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/TelegramService.php b/app/Services/TelegramService.php index 913591fd..9005915f 100644 --- a/app/Services/TelegramService.php +++ b/app/Services/TelegramService.php @@ -8,7 +8,7 @@ class TelegramService { public function __construct($token = '') { - $this->api = 'http://dev.v2board.com/bot' . config('v2board.telegram_bot_token', $token) . '/'; + $this->api = 'https://api.telegram.org/bot' . config('v2board.telegram_bot_token', $token) . '/'; } public function sendMessage(int $chatId, string $text, string $parseMode = '')