From dcf5f012f825d165aecc6e8be9d077cbb89d6199 Mon Sep 17 00:00:00 2001 From: Imbus Date: Mon, 18 Dec 2023 14:39:05 +0100 Subject: [PATCH] Re-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 bccef79..7979244 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())