Can import ZIP

This commit is contained in:
2025-05-05 20:38:46 +02:00
parent f335b9d0c0
commit aac878a245
11 changed files with 193 additions and 17 deletions

View File

@ -174,6 +174,10 @@ async fn main() -> std::io::Result<()> {
"/api/backup/zip/export",
web::get().to(backup_controller::zip_export),
)
.route(
"/api/backup/zip/import",
web::post().to(backup_controller::zip_import),
)
// Static assets
.route("/", web::get().to(static_controller::root_index))
.route(