You've already forked AstralRinth
forked from didirus/AstralRinth
Replace MaxMind with CloudFlare headers (#4934)
* Replace MaxMind with CloudFlare headers * Remove MaxMind env vars * Fix test harness
This commit is contained in:
@@ -175,8 +175,6 @@ async fn main() -> std::io::Result<()> {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
let maxmind_reader = modrinth_maxmind::MaxMind::new().await;
|
||||
|
||||
let prometheus = PrometheusMetricsBuilder::new("labrinth")
|
||||
.endpoint("/metrics")
|
||||
.exclude_regex(r"^/api/v1/.*$")
|
||||
@@ -205,7 +203,6 @@ async fn main() -> std::io::Result<()> {
|
||||
search_config.clone(),
|
||||
&mut clickhouse,
|
||||
file_host.clone(),
|
||||
maxmind_reader.clone(),
|
||||
stripe_client,
|
||||
anrok_client.clone(),
|
||||
email_queue,
|
||||
|
||||
Reference in New Issue
Block a user