From 2f334d233b2fa37115694969d5274227fa0b634a Mon Sep 17 00:00:00 2001 From: Mitchell Marino Date: Sun, 16 Apr 2023 17:19:42 -0500 Subject: [PATCH] fix cors --- src/main.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 1de0e75..5432fa8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -75,7 +75,6 @@ async fn main() { // Create CORS midleware to allow the web build of the UI to work. let cors = CorsLayer::new() .allow_methods(cors::Any) - .allow_credentials(true) .allow_headers(cors::Any) .allow_origin(cors::Any);