Can update / delete member information through UI

This commit is contained in:
2023-08-08 15:21:05 +02:00
parent b828fce039
commit 6495085df6
7 changed files with 203 additions and 10 deletions

View File

@ -27,7 +27,7 @@ async fn main() -> std::io::Result<()> {
.wrap(
Cors::default()
.allowed_origin(&AppConfig::get().website_origin)
.allowed_methods(vec!["GET", "POST", "PATCH", "DELETE"])
.allowed_methods(vec!["GET", "POST", "PUT", "PATCH", "DELETE"])
.allowed_header("X-Auth-Token")
.allow_any_header()
.supports_credentials()