mirror of
https://github.com/modrinth/code.git
synced 2026-09-02 13:05:50 +00:00
Fix CORS (#4610)
This commit is contained in:
@@ -58,6 +58,7 @@ pub fn utoipa_config(
|
||||
) {
|
||||
cfg.service(
|
||||
utoipa_actix_web::scope("/v3/analytics")
|
||||
.wrap(default_cors())
|
||||
.configure(analytics_get::config),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user