You've already forked AstralRinth
forked from didirus/AstralRinth
fix(labrinth): cors headers on ratelimited (#3189)
Kinda hotfix. Fixes #2591 Fixes #2529
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
use actix_cors::Cors;
|
||||
|
||||
// Updating this? Remember to update the ratelimit CORS too!
|
||||
pub fn default_cors() -> Cors {
|
||||
Cors::default()
|
||||
.allow_any_origin()
|
||||
|
||||
Reference in New Issue
Block a user