From a2c19e7e9e03e2804ecbbfcb331b8f16f4366783 Mon Sep 17 00:00:00 2001 From: 4NK Dev Date: Sat, 20 Sep 2025 21:24:17 +0000 Subject: [PATCH] Externalize configuration and improve Docker compatibility - Add STORAGE_DIR and PORT environment variables - Update tests to use 0.0.0.0 instead of 127.0.0.1 for Docker compatibility - Update documentation and changelog --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 223f9cb..17cb170 100644 --- a/src/main.rs +++ b/src/main.rs @@ -21,7 +21,7 @@ async fn main() -> tide::Result<()> { .ok() .and_then(|p| p.parse::().ok()) .unwrap_or(DEFAULT_PORT); - + // Parse command line arguments let args: Vec = env::args().collect(); let no_ttl_permanent = args.iter().any(|arg| arg == "--permanent");