Add API V1 flickers (#541)

Co-authored-by: triphora <emmaffle@modrinth.com>
This commit is contained in:
Geometrically
2023-02-15 15:05:28 -07:00
committed by GitHub
parent b056610eaa
commit c15acc4ce3
2 changed files with 21 additions and 1 deletions

View File

@@ -235,6 +235,7 @@ async fn main() -> std::io::Result<()> {
// Init App
HttpServer::new(move || {
App::new()
.wrap(actix_web::middleware::Compress::default())
.wrap(
Cors::default()
.allow_any_origin()