Skip to content

Commit

Permalink
Remove substrate-ui.parity.io from CORS whitelist (paritytech#5142)
Browse files Browse the repository at this point in the history
The only up-to-date deployment of PolkadotJS apps is currently on https://polkadot.js.org/apps/.
https://substrate-ui.parity.io is only useful as deliberately kept outdated version of Apps, to be used for projects still on Substrate 1.0
It cannot be used with the up-to-date chains running the Substrate 2.0 codebase, and probably won't be maintained much longer.
  • Loading branch information
gavofyork authored Mar 5, 2020
1 parent 027756e commit bb1b68d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions client/cli/src/commands/runcmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,8 @@ pub struct RunCmd {
///
/// A comma-separated list of origins (protocol://domain or special `null`
/// value). Value of `all` will disable origin validation. Default is to
/// allow localhost, https://polkadot.js.org and
/// https://substrate-ui.parity.io origins. When running in --dev mode the
/// default is to allow all origins.
/// allow localhost and https://polkadot.js.org origins. When running in
/// --dev mode the default is to allow all origins.
#[structopt(long = "rpc-cors", value_name = "ORIGINS", parse(try_from_str = parse_cors))]
pub rpc_cors: Option<Cors>,

Expand Down Expand Up @@ -408,7 +407,6 @@ impl RunCmd {
"https://localhost:*".into(),
"https://127.0.0.1:*".into(),
"https://polkadot.js.org".into(),
"https://substrate-ui.parity.io".into(),
])
}).into();

Expand Down

0 comments on commit bb1b68d

Please sign in to comment.