You've already forked AstralRinth
forked from didirus/AstralRinth
Bump ratelimit to 200 RPM, allow specified IPs to have lax ratelimit restrictions, and allow wildcard for CORS
This commit is contained in:
5
.env
5
.env
@@ -1,7 +1,6 @@
|
||||
DEBUG=true
|
||||
RUST_LOG=info,sqlx::query=warn
|
||||
|
||||
CORS_ORIGINS='["http://localhost:3000","https://modrinth.com"]'
|
||||
CDN_URL=https://cdn.modrinth.com
|
||||
|
||||
DATABASE_URL=postgresql://labrinth:labrinth@localhost/labrinth
|
||||
@@ -31,4 +30,6 @@ LOCAL_INDEX_INTERVAL=3600
|
||||
VERSION_INDEX_INTERVAL=1800
|
||||
|
||||
GITHUB_CLIENT_ID=3acffb2e808d16d4b226
|
||||
GITHUB_CLIENT_SECRET=none
|
||||
GITHUB_CLIENT_SECRET=none
|
||||
|
||||
RATE_LIMIT_IGNORE_IPS='[]'
|
||||
Reference in New Issue
Block a user