forked from Deuxfleurs/garage
put bucket website: improve error message for redirectallrequests
This commit is contained in:
parent
44ce6ae5b4
commit
9b7fea4cb0
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ impl WebsiteConfiguration {
|
|||
pub fn into_garage_website_config(self) -> Result<WebsiteConfig, Error> {
|
||||
if self.redirect_all_requests_to.is_some() {
|
||||
Err(Error::NotImplemented(
|
||||
"S3 website redirects are not currently implemented in Garage.".into(),
|
||||
"RedirectAllRequestsTo is not currently implemented in Garage, however its effect can be emulated using a single inconditional RoutingRule.".into(),
|
||||
))
|
||||
} else {
|
||||
Ok(WebsiteConfig {
|
||||
|
|
Loading…
Reference in a new issue