diff options
author | Alex <lx@deuxfleurs.fr> | 2025-02-14 12:58:48 +0000 |
---|---|---|
committer | Alex <lx@deuxfleurs.fr> | 2025-02-14 12:58:48 +0000 |
commit | c3e8e5e38ce01492a0fc2a0ad9b90f6777e1f738 (patch) | |
tree | e568959948e307194ad1e3ff59dd2db54023bcb7 /src/api/admin | |
parent | 61f3de649646d098812e6ddb814e20ce7e66ad94 (diff) | |
parent | 62a3003ccad402dbd004af62724c45df8fb84c07 (diff) | |
download | garage-c3e8e5e38ce01492a0fc2a0ad9b90f6777e1f738.tar.gz garage-c3e8e5e38ce01492a0fc2a0ad9b90f6777e1f738.zip |
Merge pull request 'support redirection on s3 endpoint' (#910) from trinity-1686a/garage:1686a/s3-redirects into next-v2next-v2
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/910
Diffstat (limited to 'src/api/admin')
-rw-r--r-- | src/api/admin/bucket.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/admin/bucket.rs b/src/api/admin/bucket.rs index d2bb62e0..ca5b2d86 100644 --- a/src/api/admin/bucket.rs +++ b/src/api/admin/bucket.rs @@ -376,6 +376,8 @@ impl RequestHandler for UpdateBucketRequest { "Please specify indexDocument when enabling website access.", )?, error_document: wa.error_document, + redirect_all: None, + routing_rules: Vec::new(), })); } else { if wa.index_document.is_some() || wa.error_document.is_some() { |