mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-09-10 10:45:57 +03:00
use static_files() for email attachments
Apply suggestions from code review Co-authored-by: Mathijs van Veluw <black.dex@gmail.com>
This commit is contained in:
@@ -767,7 +767,7 @@ fn generate_smtp_img_src(embed_images: bool, domain: &str) -> String {
|
||||
if embed_images {
|
||||
"cid:".to_string()
|
||||
} else {
|
||||
format!("{}/vw_static/", domain)
|
||||
format!("{domain}/vw_static/")
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user