diff options
author | Adam Carpenter <atc@53hor.net> | 2020-05-06 14:31:22 -0400 |
---|---|---|
committer | Adam Carpenter <atc@53hor.net> | 2020-05-06 14:31:22 -0400 |
commit | 676e527bab65350797cf908b3e3bdbcec2cca811 (patch) | |
tree | 0fb88cbacf0e02447349f8dcfa71f45fd64e2530 | |
parent | 8b5bb367e2bd03a64c233e1eb128c2d0980f5b01 (diff) | |
download | theglassyladies-676e527bab65350797cf908b3e3bdbcec2cca811.tar.xz theglassyladies-676e527bab65350797cf908b3e3bdbcec2cca811.zip |
updated debug script
-rwxr-xr-x | dichroism/debug.sh | 1 | ||||
-rw-r--r-- | dichroism/src/main.rs | 2 |
2 files changed, 2 insertions, 1 deletions
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] |