Skip to content

Commit

Permalink
Merge pull request #238 from EspressoSystems/rm/to-tmp
Browse files Browse the repository at this point in the history
Public dir to `/tmp`
  • Loading branch information
rob-maron authored Sep 21, 2024
2 parents b72e592 + ac06682 commit d632236
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tide-disco"
version = "0.9.1"
version = "0.9.2"
edition = "2021"
authors = ["Espresso Systems <[email protected]>"]
description = "Discoverability for Tide"
Expand Down
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d632236

Please sign in to comment.