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:
timvisee 2020-07-09 12:45:57 +02:00
parent 62133be103
commit 522bf187f5
No known key found for this signature in database
GPG key ID: B8DB720BC383E172

View file

@ -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")