Release version v1.1.2

This commit is contained in:
2026-01-02 00:38:37 -03:00
parent 462a21604b
commit 19418db4a4
7 changed files with 52 additions and 2 deletions
+4
View File
@@ -336,6 +336,10 @@ async fn proxy_with_cors(Query(params): Query<ProxyQuery>) -> Result<Response, E
}
headers_mut.insert(key, value.clone());
}
// Insert CORS headers
headers_mut.insert("access-control-allow-origin", "*".parse().unwrap());
headers_mut.insert("access-control-allow-methods", "GET, OPTIONS".parse().unwrap());
headers_mut.insert("access-control-allow-headers", "*".parse().unwrap());
Ok(response.body(body).unwrap())
}