fix: update import statements for healthCheckHandler to include file extension

This commit is contained in:
Tudor Stanciu 2025-10-05 01:46:18 +03:00
parent bb19edd7e3
commit feb3798283
3 changed files with 2 additions and 3 deletions

View File

@ -1 +0,0 @@
export * from './healthHandler.js';

View File

@ -12,7 +12,7 @@ import dynamicRateLimit from './middleware/rateLimit.js';
import config from './services/config.js';
import logger from './services/logger.js';
import { generateRuntimeConfig } from './services/runtimeConfig.js';
import { healthCheckHandler } from './handlers';
import { healthCheckHandler } from './handlers/healthHandler.js';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

View File

@ -6,7 +6,7 @@ import { dirname, join } from 'path';
import geoIPService from '../services/geoip.js';
import logger from '../services/logger.js';
import config from '../services/config.js';
import { healthCheckHandler } from '../handlers';
import { healthCheckHandler } from '../handlers/healthHandler.js';
import {
BatchGeoIPRequest,
BatchGeoIPResponse,