Skip to content

Commit

Permalink
Fix incorrect path for uploaded medias
Browse files Browse the repository at this point in the history
fix #292
  • Loading branch information
trinity-1686a committed Oct 27, 2018
1 parent 1a2ad8d commit 8eb5291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plume-models/src/medias.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ impl Media {
if self.is_remote {
self.remote_url.clone().unwrap_or(String::new())
} else {
ap_url(format!("{}/static/{}", Instance::get_local(conn).expect("Media::url: local instance not found error").public_domain, self.file_path))
ap_url(format!("{}/{}", Instance::get_local(conn).expect("Media::url: local instance not found error").public_domain, self.file_path))
}
}

Expand Down

0 comments on commit 8eb5291

Please sign in to comment.