From c1c881b83d73c657c704445cd8fdbeb90624aba5 Mon Sep 17 00:00:00 2001 From: SkyTheCodeMaster <34724753+SkyTheCodeMaster@users.noreply.github.com> Date: Sat, 28 Jan 2023 22:06:38 -0500 Subject: [PATCH] Add a link to the `Try it!` section of the readme on a bad request. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 7473dc9..962ef5f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -36,7 +36,7 @@ fn handle_request(speak: &Mutex, request: Request) -> Respon } let text: &str = match &text { - None => return bad_request("No text= query parameter"), + None => return bad_request("No text= query parameter\nhttps://github.com/SquidDev-CC/CCSpeaks#try-it"), Some(x) => x, }; let voice = match &voice {