impl webhook route

This commit is contained in:
2026-05-18 22:40:28 +02:00
parent 2cf50b0168
commit e33187dc80
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,6 @@
use dotenvy::dotenv;
pub struct EnvConfig {
pub http_port: u16,
pub bot_name: String,
@@ -9,7 +10,6 @@ pub fn load_config() -> anyhow::Result<EnvConfig> {
dotenv().ok();
let http_port = std::env::var("HTTP_PORT")?.parse()?;
let bot_name = std::env::var("BOT_NAME")?;
Ok(EnvConfig {