From 676e527bab65350797cf908b3e3bdbcec2cca811 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Wed, 6 May 2020 14:31:22 -0400 Subject: updated debug script --- dichroism/debug.sh | 1 + dichroism/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dichroism/debug.sh b/dichroism/debug.sh index c5d1213..97ee474 100755 --- a/dichroism/debug.sh +++ b/dichroism/debug.sh @@ -1,2 +1,3 @@ #!/bin/sh +clear systemfd --no-pid -s http::8000 -- cargo watch -x run diff --git a/dichroism/src/main.rs b/dichroism/src/main.rs index 858a21c..8e97d04 100644 --- a/dichroism/src/main.rs +++ b/dichroism/src/main.rs @@ -43,7 +43,7 @@ async fn greet(req: HttpRequest) -> impl Responder { } async fn index() -> impl Responder { - "Hello, this is an API. If you're looking for the web app, try port 443.".to_string() + "Hello, this is an API. If you're looking for the web app, try the top-level domain at port 443.".to_string() } #[actix_rt::main] -- cgit v1.2.3