diff options
author | Alex Auvolat <alex@adnab.me> | 2021-12-22 18:50:08 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-01-04 12:47:28 +0100 |
commit | d8ab5bdc3e20759e5ba8a6844393757da3539372 (patch) | |
tree | 7fc9abc578bb4185691313889ed94aedca09dbc4 /src/garage | |
parent | c7d5c732442c5802058b46205d450d4620772b7b (diff) | |
download | garage-d8ab5bdc3e20759e5ba8a6844393757da3539372.tar.gz garage-d8ab5bdc3e20759e5ba8a6844393757da3539372.zip |
New buckets for 0.6.0: fix model and migration
Diffstat (limited to 'src/garage')
-rw-r--r-- | src/garage/admin.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/garage/admin.rs b/src/garage/admin.rs index 9ea5c19e..49890189 100644 --- a/src/garage/admin.rs +++ b/src/garage/admin.rs @@ -4,7 +4,6 @@ use std::sync::Arc; use async_trait::async_trait; use serde::{Deserialize, Serialize}; -use serde_bytes::ByteBuf; use garage_util::crdt::*; use garage_util::data::*; @@ -538,7 +537,10 @@ impl AdminRpcHandler { } let website = if query.allow { - Some(ByteBuf::from(DEFAULT_WEBSITE_CONFIGURATION.to_vec())) + Some(WebsiteConfig::Website { + index_document: "index.html".into(), + error_document: None, + }) } else { None }; |