Can download ISO file by URL

This commit is contained in:
2023-09-05 16:12:20 +02:00
parent 4b55e17ee0
commit e7d5747b99
11 changed files with 231 additions and 9 deletions

View File

@ -104,6 +104,10 @@ async fn main() -> std::io::Result<()> {
"/api/iso/upload",
web::post().to(iso_controller::upload_file),
)
.route(
"/api/iso/upload_from_url",
web::post().to(iso_controller::upload_from_url),
)
})
.bind(&AppConfig::get().listen_address)?
.run()