summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Carpenter <atc@53hor.net>2020-05-06 14:31:22 -0400
committerAdam Carpenter <atc@53hor.net>2020-05-06 14:31:22 -0400
commit676e527bab65350797cf908b3e3bdbcec2cca811 (patch)
tree0fb88cbacf0e02447349f8dcfa71f45fd64e2530
parent8b5bb367e2bd03a64c233e1eb128c2d0980f5b01 (diff)
downloadtheglassyladies-676e527bab65350797cf908b3e3bdbcec2cca811.tar.xz
theglassyladies-676e527bab65350797cf908b3e3bdbcec2cca811.zip
updated debug script
-rwxr-xr-xdichroism/debug.sh1
-rw-r--r--dichroism/src/main.rs2
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]