summaryrefslogtreecommitdiff
path: root/src/client.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-04-07 05:46:15 +0000
committerLars Wirzenius <liw@liw.fi>2022-04-07 05:46:15 +0000
commit8da3f80d296dc1891159fe4fdc1787cecd9730d0 (patch)
treef161b7958c3e6975d0bc2dbdef2bf3175e4d6216 /src/client.rs
parent1c6ae813b00e46d2a8061fa480d1780124af1e64 (diff)
parent6defd70a2df0975ee22b09018a9dc709a7933200 (diff)
downloadobnam2-8da3f80d296dc1891159fe4fdc1787cecd9730d0.tar.gz
Merge branch 'liw/api-v1' into 'main'
feat! add chunk server API version to HTTP paths Closes #202 See merge request obnam/obnam!227
Diffstat (limited to 'src/client.rs')
-rw-r--r--src/client.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.rs b/src/client.rs
index 5b13cb7..c5d66c1 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -131,7 +131,7 @@ impl BackupClient {
}
fn chunks_url(&self) -> String {
- format!("{}/chunks", self.base_url())
+ format!("{}/v1/chunks", self.base_url())
}
/// Does the server have a chunk?