From 65971bb657bf82157dfefd8cba1d83b30992ec3a Mon Sep 17 00:00:00 2001 From: weisd Date: Sun, 23 Feb 2025 18:35:43 +0800 Subject: [PATCH] add console static files --- rustfs/src/config/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rustfs/src/config/mod.rs b/rustfs/src/config/mod.rs index 477998a8..701ee5f5 100644 --- a/rustfs/src/config/mod.rs +++ b/rustfs/src/config/mod.rs @@ -42,6 +42,9 @@ pub struct Opt { #[arg(long, default_value_t = format!("0.0.0.0:{}", DEFAULT_PORT), env = "RUSTFS_ADDRESS")] pub address: String, + #[arg(long, default_value_t = format!("http://localhost:{}", DEFAULT_PORT), env = "RUSTFS_SERVER_ENDPOINT")] + pub server_endpoint: String, + /// Access key used for authentication. #[arg(long, default_value_t = DEFAULT_ACCESS_KEY.to_string(), env = "RUSTFS_ACCESS_KEY")] pub access_key: String,