mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
remove the first - in the path to the db instance in the instance-id
This commit is contained in:
parent
d8b0d68840
commit
b250392e8d
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ fn config_user_id_path(db_path: &Path) -> Option<PathBuf> {
|
||||||
.replace("/", "-")
|
.replace("/", "-")
|
||||||
})
|
})
|
||||||
.zip(MEILISEARCH_CONFIG_PATH.as_ref())
|
.zip(MEILISEARCH_CONFIG_PATH.as_ref())
|
||||||
.map(|(filename, config_path)| config_path.join(filename))
|
.map(|(filename, config_path)| config_path.join(filename.trim_start_matches('-')))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Look for the instance-uid in the `data.ms` or in `~/.config/MeiliSearch/path-to-db-instance-uid`
|
/// Look for the instance-uid in the `data.ms` or in `~/.config/MeiliSearch/path-to-db-instance-uid`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue