From c4d5507e9c0b16b0d34df9e871be1d76d296ecea Mon Sep 17 00:00:00 2001 From: Keuin Date: Sun, 27 Mar 2022 20:17:23 +0800 Subject: Configurable HTTP listen endpoint. Handle Ctrl-C correctly. --- src/config.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index d32c525..c5d07a7 100644 --- a/src/config.rs +++ b/src/config.rs @@ -8,6 +8,7 @@ pub struct Config { pub bot_token: String, pub log_file: String, pub db_file: String, + pub listen: String, } impl Config { -- cgit v1.2.3