Use send.vis.ee as default host until Mozilla's Firefox Send is up again
See https://gitlab.com/timvisee/ffsend/-/issues/101
This commit is contained in:
parent
62133be103
commit
522bf187f5
1 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
use clap::{Arg, ArgMatches};
|
||||
use failure::Fail;
|
||||
use ffsend_api::config::SEND_DEFAULT_HOST;
|
||||
use ffsend_api::url::Url;
|
||||
|
||||
use super::{CmdArg, CmdArgOption};
|
||||
|
@ -20,7 +19,7 @@ impl CmdArg for ArgHost {
|
|||
.long("host")
|
||||
.short("h")
|
||||
.value_name("URL")
|
||||
.default_value(SEND_DEFAULT_HOST)
|
||||
.default_value("https://send.vis.ee/")
|
||||
.env("FFSEND_HOST")
|
||||
.hide_env_values(true)
|
||||
.help("The remote host to upload to")
|
||||
|
|
Loading…
Reference in a new issue