style(server): add new line character to 404 message (#72)
This commit is contained in:
parent
40a87c586b
commit
d51b68da10
|
@ -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 => {
|
||||
|
|
Loading…
Reference in New Issue