diff --git a/src/main.rs b/src/main.rs index 0d922f0..1de0e75 100644 --- a/src/main.rs +++ b/src/main.rs @@ -75,6 +75,8 @@ 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); let app = app.layer(cors);