diff options
author | Alex Auvolat <alex@adnab.me> | 2022-01-03 15:06:19 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-01-04 12:52:46 +0100 |
commit | 2140cd72054ac6e3a94cbe5931727159de20a97f (patch) | |
tree | 0026752b9cdc5f3db07a5e06fd55cb9e9a4d5c9d /src/model/bucket_table.rs | |
parent | beeef4758e5ec0d521179a799a3237c2c0368911 (diff) | |
download | garage-2140cd72054ac6e3a94cbe5931727159de20a97f.tar.gz garage-2140cd72054ac6e3a94cbe5931727159de20a97f.zip |
Remove website redirects
Diffstat (limited to 'src/model/bucket_table.rs')
-rw-r--r-- | src/model/bucket_table.rs | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/model/bucket_table.rs b/src/model/bucket_table.rs index 8dcf6913..fef29b62 100644 --- a/src/model/bucket_table.rs +++ b/src/model/bucket_table.rs @@ -43,15 +43,9 @@ pub struct BucketParams { } #[derive(PartialEq, Eq, Clone, Debug, Serialize, Deserialize)] -pub enum WebsiteConfig { - RedirectAll { - hostname: String, - protocol: String, - }, - Website { - index_document: String, - error_document: Option<String>, - }, +pub struct WebsiteConfig { + pub index_document: String, + pub error_document: Option<String>, } impl BucketParams { |