Skip to content

Commit 023ddc2

Browse files
committed
feat(paste-server-rs): /usage and / add new line
1 parent 227fdde commit 023ddc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paste-server-rs/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ async fn usage_for_route(
262262

263263
fn usage(public_paste_url: Url) -> String {
264264
format!(
265-
"Welcome to AOSC Paste!\n====\n\nThis public paste service may be accessed from https://aosc.io/paste, or via curl.\n\ncurl usage\n----\n\nTo upload any text to AOSC Paste:\n\n cmd | curl -F \"c=@-\" {public_paste_url}\n\nTo fetch content of a specific paste:\n\n curl {public_paste_url}{{uuid}}"
265+
"Welcome to AOSC Paste!\n====\n\nThis public paste service may be accessed from https://aosc.io/paste, or via curl.\n\ncurl usage\n----\n\nTo upload any text to AOSC Paste:\n\n cmd | curl -F \"c=@-\" {public_paste_url}\n\nTo fetch content of a specific paste:\n\n curl {public_paste_url}{{uuid}}\n"
266266
)
267267
}
268268

0 commit comments

Comments
 (0)