mirror of
https://github.com/warp-tech/warpgate.git
synced 2025-09-06 14:44:24 +08:00
fixed incorrect relative path resolution in setup
This commit is contained in:
parent
4d5ebe42eb
commit
05235d9627
1 changed files with 2 additions and 1 deletions
|
@ -110,8 +110,9 @@ pub(crate) async fn command(cli: &crate::Cli) -> Result<()> {
|
|||
.interact_text()?
|
||||
}
|
||||
};
|
||||
|
||||
let data_path = config_dir.join(PathBuf::from(&data_path)).canonicalize()?;
|
||||
create_dir_all(&data_path)?;
|
||||
let data_path = PathBuf::from(&data_path).canonicalize()?;
|
||||
|
||||
let db_path = data_path.join("db");
|
||||
create_dir_all(&db_path)?;
|
||||
|
|
Loading…
Add table
Reference in a new issue