From f854b2805cec04b2e30f2c9195e3107c97c2529b Mon Sep 17 00:00:00 2001 From: danbugs Date: Wed, 21 Feb 2024 19:39:08 -0800 Subject: [PATCH] temp Signed-off-by: danbugs --- backend/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/main.rs b/backend/src/main.rs index b838b67..a5d9bd9 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -154,10 +154,10 @@ async fn get_player_head_to_head( } fn rocket() -> Rocket { - #[cfg(debug_assertions)] - let allowed_origins = AllowedOrigins::some_exact(&[DEV_ADDRESS, DEV_ADDRESS_2]); + // #[cfg(debug_assertions)] + // let allowed_origins = AllowedOrigins::some_exact(&[DEV_ADDRESS, DEV_ADDRESS_2]); - #[cfg(not(debug_assertions))] + // #[cfg(not(debug_assertions))] let allowed_origins = AllowedOrigins::some_exact(&[PROD_ADDRESS, PROD_ADDRESS_2]); let cors = rocket_cors::CorsOptions {