mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2025-09-01 03:40:46 -04:00
fix: use data_dir from config.toml if present
fixes: https://todo.sr.ht/~gheartsfield/nostr-rs-relay/64
This commit is contained in:
@@ -7,8 +7,7 @@ pub struct CLIArgs {
|
||||
short,
|
||||
long,
|
||||
help = "Use the <directory> as the location of the database",
|
||||
default_value = ".",
|
||||
required = false
|
||||
required = false,
|
||||
)]
|
||||
pub db: String,
|
||||
pub db: Option<String>,
|
||||
}
|
||||
|
Reference in New Issue
Block a user