fix: web ui flag
parent
7118ea1e4c
commit
83317ff951
|
@ -340,7 +340,7 @@ async fn main() -> Result<()> {
|
||||||
FsStore::from_path(args.store_path.unwrap_or_else(|| vault_path.clone())).unwrap(),
|
FsStore::from_path(args.store_path.unwrap_or_else(|| vault_path.clone())).unwrap(),
|
||||||
) as Box<dyn UpStore + Send + Sync>);
|
) as Box<dyn UpStore + Send + Sync>);
|
||||||
|
|
||||||
let ui_path = if !args.no_ui {
|
let ui_path = if args.no_ui {
|
||||||
None
|
None
|
||||||
} else {
|
} else {
|
||||||
let ui_path = get_static_dir("webui");
|
let ui_path = get_static_dir("webui");
|
||||||
|
|
Loading…
Reference in New Issue