salto de linea en enlace de descarga

This commit is contained in:
serxoz 2022-10-26 09:45:54 +02:00
parent c411c70d66
commit 4e02baaaad

View File

@ -28,7 +28,7 @@ pub async fn upload(mut multipart: Multipart) -> Response {
let mut file = File::create(dest).await.expect("error creando arquivo"); let mut file = File::create(dest).await.expect("error creando arquivo");
file.write_all(&data).await.expect("error gardando contido"); file.write_all(&data).await.expect("error gardando contido");
link = format!("{}/f/{}", env_base_url(), fillo); link = format!("{}/f/{}\n", env_base_url(), fillo);
} }
link.into_response() link.into_response()