From b71ebc92727ad1ab8d27ffdcc13342eb9ed69268 Mon Sep 17 00:00:00 2001 From: Pavel Kirilin <win10@list.ru> Date: Mon, 24 Jan 2022 02:51:48 +0400 Subject: [PATCH] Updated ENVs for server. Signed-off-by: Pavel Kirilin <win10@list.ru> --- src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.rs b/src/config.rs index 4d5f54d..2adf14d 100644 --- a/src/config.rs +++ b/src/config.rs @@ -144,11 +144,11 @@ pub struct NotificationsOptions { /// [here](https://tus.io/). pub struct RustusConf { /// Rustus server host - #[structopt(short, long, default_value = "0.0.0.0", env = "RUSTUS_HOST")] + #[structopt(short, long, default_value = "0.0.0.0", env = "RUSTUS_SERVER_HOST")] pub host: String, /// Rustus server port - #[structopt(short, long, default_value = "1081", env = "RUSTUS_PORT")] + #[structopt(short, long, default_value = "1081", env = "RUSTUS_SERVER_PORT")] pub port: u16, /// Rustus base API url -- GitLab