This commit is contained in:
Christbru 2025-10-19 11:35:28 -05:00
commit 95ce7b343c
4 changed files with 20 additions and 4 deletions

View file

@ -32,3 +32,7 @@ pub fn delete_file(path: &Path) -> Result<()> {
}
Ok(())
}
pub fn public_url_for(filename: &str) -> String {
format!("/storage/{}", filename)
}