Get webhook port from env

This commit is contained in:
2024-01-08 19:54:37 +01:00
parent 30c8bf7151
commit 8d9181dc0e
4 changed files with 11 additions and 6 deletions

View File

@@ -46,8 +46,6 @@ pub static CHAT_DONATION_NOTIFICATIONS_CACHE: Lazy<Cache<ChatId, ()>> = Lazy::ne
.build()
});
pub static SERVER_PORT: u16 = 8080;
type StopTokenWithSender = (
StopToken,
ClosableSender<Result<Update, std::convert::Infallible>>,