cli: Use localhost for rad web
Since sessionStorage and localStorage use protocol + host + port as scope, we want to align this between the CLI and radicle-interface. Using localhost has other benefits as well, because browsers treat it differently when doing requests from the deployed app which is being served via https. Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
parent
1128842457
commit
803d36f0f6
|
|
@ -70,7 +70,7 @@ impl Args for Options {
|
|||
Options {
|
||||
verbose,
|
||||
host: host.unwrap_or(String::from("0.0.0.0:8080")),
|
||||
web: web.unwrap_or(String::from("0.0.0.0:3000")),
|
||||
web: web.unwrap_or(String::from("localhost:3000")),
|
||||
},
|
||||
vec![],
|
||||
))
|
||||
|
|
|
|||
Loading…
Reference in New Issue