Hotfix cors
This commit is contained in:
parent
4b05f830b8
commit
0662adafee
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ async fn main() -> std::io::Result<()> {
|
|||
.max_age(3600);
|
||||
|
||||
App::new()
|
||||
.wrap(cors)
|
||||
//.wrap(cors)
|
||||
.wrap(middleware::Compress::default())
|
||||
.wrap(middleware::Logger::default())
|
||||
.wrap(middleware::NormalizePath::trim())
|
||||
|
|
Loading…
Reference in a new issue