aboutsummaryrefslogtreecommitdiff
path: root/src/api/api_server.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-01-06 11:36:17 +0100
committerAlex Auvolat <alex@adnab.me>2022-01-13 14:23:52 +0100
commit3ea8ca1b9e8d0eb09d4d47869da1aca4c8dadade (patch)
tree7cec4744eebeacc6ed39d12f7fde10cf60e14b50 /src/api/api_server.rs
parentf7349f40050dfb5dc4f4f49df5732686c8d846ba (diff)
downloadgarage-3ea8ca1b9e8d0eb09d4d47869da1aca4c8dadade.tar.gz
garage-3ea8ca1b9e8d0eb09d4d47869da1aca4c8dadade.zip
Implement GetBucketWebsite
Diffstat (limited to 'src/api/api_server.rs')
-rw-r--r--src/api/api_server.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/api_server.rs b/src/api/api_server.rs
index a38a3c5b..ea1990d9 100644
--- a/src/api/api_server.rs
+++ b/src/api/api_server.rs
@@ -305,6 +305,7 @@ async fn handler_inner(garage: Arc<Garage>, req: Request<Body>) -> Result<Respon
Endpoint::DeleteObjects { .. } => {
handle_delete_objects(garage, bucket_id, req, content_sha256).await
}
+ Endpoint::GetBucketWebsite { .. } => handle_get_website(garage, bucket_id).await,
Endpoint::PutBucketWebsite { .. } => {
handle_put_website(garage, bucket_id, req, content_sha256).await
}