Hotfix cors

This commit is contained in:
Imbus 2023-12-15 16:43:56 +01:00
parent 4b05f830b8
commit 0662adafee

View file

@ -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())