Update default database directory to working directory

This commit is contained in:
Thomas Payet 2019-11-29 15:22:45 +01:00
parent 7780293ddb
commit 089579d835
2 changed files with 2 additions and 1 deletions

View file

@ -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.