aboutsummaryrefslogtreecommitdiff
path: root/src/model/bucket_table.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/bucket_table.rs')
-rw-r--r--src/model/bucket_table.rs12
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 {