Skip to content

Commit

Permalink
6
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Novak committed Mar 5, 2024
1 parent b76c0a5 commit e3fb041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fn handle_fanout_ws(mut req: Request, chan: &str) -> Response {
}

fn handle_fanout(req: &Request, chan: &str) -> Response {
let channel = req.get_header_str("Fanout").unwrap_or("test")
let channel = req.get_header_str("Fanout").unwrap_or("test");
match req.get_url().path() {
"/stream/long-poll" => fanout_util::grip_response("text/plain", "response", chan),
"/stream/plain" => fanout_util::grip_response("text/plain", "stream", chan),
Expand Down

0 comments on commit e3fb041

Please sign in to comment.