diff options
Diffstat (limited to 'src/garage/admin.rs')
-rw-r--r-- | src/garage/admin.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/garage/admin.rs b/src/garage/admin.rs index 4a53792d..f9ec1593 100644 --- a/src/garage/admin.rs +++ b/src/garage/admin.rs @@ -404,8 +404,8 @@ impl AdminRpcHandler { let website = if query.allow { Some(WebsiteConfig { - index_document: "index.html".into(), - error_document: None, + index_document: query.index_document.clone(), + error_document: query.error_document.clone(), }) } else { None |