salto de linea en enlace de descarga
This commit is contained in:
parent
c411c70d66
commit
4e02baaaad
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user