Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Romsters committed Dec 11, 2024
1 parent b8f57c0 commit 59eae51
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ async fn build_json_http<
.build()
.unwrap();

let allow_origin = if disable_cors { "null" } else { &cors_allow_origin };
let allow_origin = if disable_cors {
"null"
} else {
&cors_allow_origin
};
let mut builder = jsonrpc_http_server::ServerBuilder::new(io_handler)
.threads(1)
.event_loop_executor(runtime.handle().clone())
Expand Down

0 comments on commit 59eae51

Please sign in to comment.