From 0662adafeeab1616cff1b2aa361fe81adfc1ceb8 Mon Sep 17 00:00:00 2001 From: Imbus Date: Fri, 15 Dec 2023 16:43:56 +0100 Subject: [PATCH] Hotfix cors --- server/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main.rs b/server/src/main.rs index 7979244..bccef79 100755 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -41,7 +41,7 @@ async fn main() -> std::io::Result<()> { .max_age(3600); App::new() - .wrap(cors) + //.wrap(cors) .wrap(middleware::Compress::default()) .wrap(middleware::Logger::default()) .wrap(middleware::NormalizePath::trim())