Fixing
This commit is contained in:
parent
44b6faaeb9
commit
95ce7b343c
4 changed files with 20 additions and 4 deletions
|
|
@ -32,3 +32,7 @@ pub fn delete_file(path: &Path) -> Result<()> {
|
|||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn public_url_for(filename: &str) -> String {
|
||||
format!("/storage/{}", filename)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue