From 9ac89fff453d30466429b325d4285c705c036121 Mon Sep 17 00:00:00 2001 From: Benjamin Novak Date: Tue, 5 Mar 2024 15:18:54 +0000 Subject: [PATCH] add channel support 21 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index a2f2b50..4839735 100644 --- a/src/main.rs +++ b/src/main.rs @@ -51,7 +51,7 @@ fn main() -> Result<(), Error> { // Request is a stream request - from client, or from fanout if req.get_path().starts_with("/stream/") { - let channel = req2.get_header_str("FANOUT").unwrap_or("test"); + let channel = req2.get_header_str("Fanout").unwrap_or("test"); return Ok(if req.get_header_str("Grip-Sig").is_some() { // Request is from Fanout