From 4e02baaaad189c123783a2231dec13f28d812b10 Mon Sep 17 00:00:00 2001 From: serxoz Date: Wed, 26 Oct 2022 09:45:54 +0200 Subject: [PATCH] salto de linea en enlace de descarga --- src/vistas/upload.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vistas/upload.rs b/src/vistas/upload.rs index 06ff85f..6c0511d 100644 --- a/src/vistas/upload.rs +++ b/src/vistas/upload.rs @@ -28,7 +28,7 @@ pub async fn upload(mut multipart: Multipart) -> Response { let mut file = File::create(dest).await.expect("error creando arquivo"); 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()