This commit is contained in:
Mitchell Marino 2023-04-16 17:19:42 -05:00
parent 85ee4589d4
commit 2f334d233b

View File

@ -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);