aboutsummaryrefslogtreecommitdiff
path: root/src/garage/admin.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-01-03 15:06:19 +0100
committerAlex Auvolat <alex@adnab.me>2022-01-04 12:52:46 +0100
commit2140cd72054ac6e3a94cbe5931727159de20a97f (patch)
tree0026752b9cdc5f3db07a5e06fd55cb9e9a4d5c9d /src/garage/admin.rs
parentbeeef4758e5ec0d521179a799a3237c2c0368911 (diff)
downloadgarage-2140cd72054ac6e3a94cbe5931727159de20a97f.tar.gz
garage-2140cd72054ac6e3a94cbe5931727159de20a97f.zip
Remove website redirects
Diffstat (limited to 'src/garage/admin.rs')
-rw-r--r--src/garage/admin.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/garage/admin.rs b/src/garage/admin.rs
index 740114c6..9328f46e 100644
--- a/src/garage/admin.rs
+++ b/src/garage/admin.rs
@@ -541,7 +541,7 @@ impl AdminRpcHandler {
}
let website = if query.allow {
- Some(WebsiteConfig::Website {
+ Some(WebsiteConfig {
index_document: "index.html".into(),
error_document: None,
})