aboutsummaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/examples
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-11-13 12:45:22 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-11-13 12:47:01 -0800
commitd14e86155fc0ae718954871f7adb59e415d98602 (patch)
tree91600a536d163f83c6496960612603f39d75623b /rust/fatcat-api-spec/examples
parente8a2925394f4cce0b8b4514f58d2bd19f9d7490b (diff)
downloadfatcat-d14e86155fc0ae718954871f7adb59e415d98602.tar.gz
fatcat-d14e86155fc0ae718954871f7adb59e415d98602.zip
set default host in swagger spec to api.fatcat.wiki
Diffstat (limited to 'rust/fatcat-api-spec/examples')
-rw-r--r--rust/fatcat-api-spec/examples/client.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/fatcat-api-spec/examples/client.rs b/rust/fatcat-api-spec/examples/client.rs
index 43f002fc..cb025d5c 100644
--- a/rust/fatcat-api-spec/examples/client.rs
+++ b/rust/fatcat-api-spec/examples/client.rs
@@ -65,7 +65,7 @@ fn main() {
]).required(true)
.index(1),
).arg(Arg::with_name("https").long("https").help("Whether to use HTTPS or not"))
- .arg(Arg::with_name("host").long("host").takes_value(true).default_value("localhost").help("Hostname to contact"))
+ .arg(Arg::with_name("host").long("host").takes_value(true).default_value("api.fatcat.wiki").help("Hostname to contact"))
.arg(Arg::with_name("port").long("port").takes_value(true).default_value("8080").help("Port to contact"))
.get_matches();