mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-02-23 04:52:28 +00:00
update readme
This commit is contained in:
parent
766bc9d17d
commit
813c12614f
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ fn read_all() {
|
||||||
fn main() {
|
fn main() {
|
||||||
let cors = CorsConfig {
|
let cors = CorsConfig {
|
||||||
origin: Origin::Copy,
|
origin: Origin::Copy,
|
||||||
headers: vec![CONTENT_TYPE],
|
headers: Headers::List(vec![CONTENT_TYPE]),
|
||||||
max_age: 0,
|
max_age: 0,
|
||||||
credentials: true
|
credentials: true
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue