diff options
| author | Aram Drevekenin <aram@poor.dev> | 2025-07-23 10:56:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-23 10:56:10 +0200 |
| commit | 25a684e0949a948db0b353626bdec98ea1229f9b (patch) | |
| tree | b46d82e466ed5ea1f950a5f85d88d0f40a9c1c6c /src/main.rs | |
| parent | fix(status-bar): proper truncation of secondary info (#4313) (diff) | |
| download | sl0ppij-25a684e0949a948db0b353626bdec98ea1229f9b.tar.gz sl0ppij-25a684e0949a948db0b353626bdec98ea1229f9b.tar.xz sl0ppij-25a684e0949a948db0b353626bdec98ea1229f9b.zip | |
feat(web): allow specifying ip/port/cert/key through the cli (#4314)
* feat(web): allow specifying ip/port/cert/key through the cli
* fix no-web
Diffstat (limited to '')
| -rw-r--r-- | src/main.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 4720a13a..a2f23162 100644 --- a/src/main.rs +++ b/src/main.rs @@ -231,7 +231,14 @@ fn main() { } else if let Some(Command::Web(web_opts)) = &opts.command { if web_opts.get_start() { let daemonize = web_opts.daemonize; - commands::start_web_server(opts, daemonize); + commands::start_web_server( + opts.clone(), + daemonize, + web_opts.ip, + web_opts.port, + web_opts.cert.clone(), + web_opts.key.clone(), + ); } else if web_opts.stop { match commands::stop_web_server() { Ok(()) => { |
