From 074a2b3c81def2724de1521c5a4af3dcf09d969b Mon Sep 17 00:00:00 2001 From: Niko PLP Date: Fri, 16 May 2025 18:14:24 +0300 Subject: [PATCH] temporaly fix app-auth 403 on windows --- ng-broker/src/server_ws.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ng-broker/src/server_ws.rs b/ng-broker/src/server_ws.rs index 4fbd177..eb6cee4 100644 --- a/ng-broker/src/server_ws.rs +++ b/ng-broker/src/server_ws.rs @@ -274,9 +274,9 @@ fn upgrade_ws_or_serve_app( return Err(res); } else if uri.path() == "/auth/" { log_debug!("Serving auth app"); - if referer.is_none() || referer.unwrap().to_str().is_err() || referer.unwrap().to_str().unwrap() != "https://nextgraph.net/" { - return Err(make_error(StatusCode::FORBIDDEN)); - } + // if referer.is_none() || referer.unwrap().to_str().is_err() || referer.unwrap().to_str().unwrap() != "https://nextgraph.net/" { + // return Err(make_error(StatusCode::FORBIDDEN)); + // } let webapp_origin = match uri.query() { Some(query) => { if query.starts_with("o=") {