summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstale <redkugelblitzin@gmail.com>2022-05-31 18:17:35 -0300
committerstale <redkugelblitzin@gmail.com>2022-05-31 18:17:35 -0300
commit3c0bd65b614463e802071cf415eb524860f5089d (patch)
treef8c484dfe3fc546e0c9392fa1b3e9ead51a530a8
parent6c0907a825865956a169d7523b19121ea0e2e700 (diff)
one absolute path went unnoticed
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index d8c5122..a938a25 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -152,7 +152,7 @@ async fn tokio_main(conf: Config) -> Result<(), Box<dyn Error>> {
Ok(
hyper::Response::builder()
.status(hyper::StatusCode::SEE_OTHER)
- .header(hyper::header::LOCATION, format!("/room/{uid}"))
+ .header(hyper::header::LOCATION, format!("./room/{uid}"))
.body(hyper::Body::empty())
.unwrap()
)