style(server): add new line character to 404 message (#72)

This commit is contained in:
Ömer Furkan Demircioğlu 2023-06-27 16:08:46 +03:00 committed by GitHub
parent 40a87c586b
commit d51b68da10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ async fn serve(
}
}
if !path.is_file() || !path.exists() {
return Err(error::ErrorNotFound("file is not found or expired :("));
return Err(error::ErrorNotFound("file is not found or expired :(\n"));
}
match paste_type {
PasteType::File | PasteType::RemoteFile | PasteType::Oneshot => {