Implement {Put,Get,Delete}BucketCors and CORS in web server

This commit is contained in:
Alex Auvolat
2022-01-07 16:23:04 +01:00
parent 60c0033c8b
commit bed3106c6a
12 changed files with 538 additions and 76 deletions
+2 -1
View File
@@ -69,9 +69,10 @@ impl Migrate {
state: Deletable::Present(BucketParams {
creation_date: now_msec(),
authorized_keys: Map::new(),
website_config: Lww::new(website),
aliases: LwwMap::new(),
local_aliases: LwwMap::new(),
website_config: Lww::new(website),
cors_config: Lww::new(None),
}),
})
.await?;