diff --git a/Cargo.lock b/Cargo.lock index 3128f06..e4e786b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3462,7 +3462,7 @@ dependencies = [ [[package]] name = "tide-disco" -version = "0.9.1" +version = "0.9.2" dependencies = [ "anyhow", "ark-serialize", diff --git a/Cargo.toml b/Cargo.toml index 0c2e64f..4d24016 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tide-disco" -version = "0.9.1" +version = "0.9.2" edition = "2021" authors = ["Espresso Systems "] description = "Discoverability for Tide" diff --git a/src/app.rs b/src/app.rs index 6051bf5..825e3c2 100644 --- a/src/app.rs +++ b/src/app.rs @@ -272,7 +272,7 @@ lazy_static! { // The contents of the default public directory are included in the binary. The first time // the default directory is used, if ever, we extract them to a directory on the host file // system and return the path to that directory. - let path = PathBuf::from("$HOME/tide-disco/public/media"); + let path = PathBuf::from("/tmp/tide-disco/public/media"); // If the path already exists, move it aside so we can update it. let _ = fs::rename(&path, path.with_extension("old")); DEFAULT_PUBLIC_DIR.extract(&path).unwrap();