Add cookie based auth, file serving and uploading

This commit is contained in:
2024-11-03 01:25:28 +01:00
parent c83c0e7ec4
commit 5c69317660
19 changed files with 418 additions and 45 deletions

View File

@@ -12,6 +12,7 @@ pub struct Model {
pub id: i32,
pub file_url: String,
pub protected: bool,
pub file_name: String,
}
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]