mirror of
https://github.com/house-of-vanity/khm.git
synced 2025-08-22 06:27:15 +00:00
web wasm ui
This commit is contained in:
@@ -4,6 +4,8 @@ pub mod gui;
|
||||
pub mod server;
|
||||
#[cfg(feature = "web")]
|
||||
pub mod web;
|
||||
#[cfg(feature = "web-gui")]
|
||||
pub mod web_gui;
|
||||
|
||||
use clap::Parser;
|
||||
|
||||
@@ -110,4 +112,8 @@ pub struct Args {
|
||||
/// Basic auth string for client mode. Format: user:pass
|
||||
#[arg(long, default_value = "", help = "Client mode: Basic Auth credentials")]
|
||||
pub basic_auth: String,
|
||||
}
|
||||
}
|
||||
|
||||
// Re-export WASM functions for wasm-pack
|
||||
#[cfg(all(target_arch = "wasm32", feature = "web-gui"))]
|
||||
pub use web_gui::wasm::*;
|
Reference in New Issue
Block a user