1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-02-22 20:52:27 +00:00

update readme

This commit is contained in:
Dominic 2021-01-01 16:49:35 +01:00
parent 766bc9d17d
commit 813c12614f
Signed by: msrd0
GPG key ID: DCC8C247452E98F9

View file

@ -200,7 +200,7 @@ fn read_all() {
fn main() {
let cors = CorsConfig {
origin: Origin::Copy,
headers: vec![CONTENT_TYPE],
headers: Headers::List(vec![CONTENT_TYPE]),
max_age: 0,
credentials: true
};