ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix views crash on geoip update failure
Chocobozzzf8b8dc674e9a
diff --git a/server/core/helpers/geo-ip.ts b/server/core/helpers/geo-ip.tsindex 0568a68938..e68321b9d4 100644--- a/server/core/helpers/geo-ip.ts+++ b/server/core/helpers/geo-ip.ts@@ -25,9 +25,9 @@ export class GeoIP {const emptyResult = { country: null, subdivisionName: null }if (CONFIG.GEO_IP.ENABLED === false) return emptyResult- await this.initReadersIfNeeded()-try {+ await this.initReadersIfNeeded()+const countryResult = this.countryReader?.get(ip)const cityResult = this.cityReader?.get(ip)