Upgraded dependencies, bumped to Node 24.

This commit is contained in:
2026-07-12 05:27:14 +02:00
parent 2d4786a4fd
commit d745b10d24
181 changed files with 18720 additions and 23134 deletions
+4 -3
View File
@@ -1,6 +1,6 @@
import config from 'config';
import path from 'path';
import path from 'node:path';
import { Reader } from '@maxmind/geoip2-node';
import config from 'config';
import initLogger from '../logger.js';
@@ -69,7 +69,8 @@ export default async function initRestrictionHandler() {
req.restriction = restriction;
req.country = country;
} catch (error) {
}
catch (error) {
logger.error(`Failed Maxmind IP lookup for ${req.ip}: ${error.message}`);
req.session.restrictionIp = req.userIp;