Skip to content

Commit

Permalink
fix && fmt
Browse files Browse the repository at this point in the history
Signed-off-by: danbugs <[email protected]>
  • Loading branch information
danbugs committed Jan 6, 2024
1 parent e428810 commit 8d46711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ async fn get_player_head_to_head(id: i32) -> Result<String, Error> {
fn rocket() -> Rocket<Build> {
#[cfg(debug_assertions)]
let allowed_origins = AllowedOrigins::some_exact(&[DEV_ADDRESS, DEV_ADDRESS_2]);

#[cfg(not(debug_assertions))]
let allowed_origins = AllowedOrigins::some_exact(&[PROD_ADDRESS]);

Expand Down

0 comments on commit 8d46711

Please sign in to comment.