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:
Stefan MelmukandMathijs van Veluw committed 2022-10-15 04:59:33 +02:00
1 parent ea19c2250e
commit 4289663a16
4 files changed
+5 -4

No files matched your search

+1
View File
@@ -22,6 +22,7 @@ pub use crate::api::{
notifications::{start_notification_server, Notify, UpdateType},
web::catchers as web_catchers,
web::routes as web_routes,
web::static_files,
};
use crate::util;