mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 19:21:13 +00:00
committed by
Bastian Köcher
parent
0b2c3ae860
commit
25f56283b1
@@ -475,6 +475,11 @@ where
|
||||
config.rpc_ws = Some(
|
||||
parse_address(&format!("{}:{}", ws_interface, 9944), cli.ws_port)?
|
||||
);
|
||||
config.rpc_cors = cli.rpc_cors.unwrap_or_else(|| Some(vec![
|
||||
"http://localhost:*".into(),
|
||||
"https://localhost:*".into(),
|
||||
"https://polkadot.js.org".into()
|
||||
]));
|
||||
|
||||
// Override telemetry
|
||||
if cli.no_telemetry {
|
||||
|
||||
Reference in New Issue
Block a user