mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Update default database directory to working directory
This commit is contained in:
parent
7780293ddb
commit
089579d835
2 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,7 @@ use structopt::StructOpt;
|
|||
#[derive(Debug, Clone, StructOpt)]
|
||||
pub struct Opt {
|
||||
/// The destination where the database must be created.
|
||||
#[structopt(long, env = "MEILI_DB_PATH", default_value = "/tmp/meilisearch")]
|
||||
#[structopt(long, env = "MEILI_DB_PATH", default_value = "./data.ms")]
|
||||
pub db_path: String,
|
||||
|
||||
/// The address on which the http server will listen.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue