diff --git a/crates/dispatch/src/main.rs b/crates/dispatch/src/main.rs index c61ea38e..51c73577 100644 --- a/crates/dispatch/src/main.rs +++ b/crates/dispatch/src/main.rs @@ -80,7 +80,7 @@ async fn dispatch( ) -> String { // todo: fix if req.auth != std::env::var("HTTP_AUTH_TOKEN").unwrap() { - return "".to_string(); + panic!("bad auth"); } let uri = match req.url.parse::() {