mirror of
https://dev.azure.com/tstanciu94/PhantomMind/_git/Bitip
synced 2025-10-13 01:52:19 +03:00
fix: update import statements for healthCheckHandler to include file extension
This commit is contained in:
parent
bb19edd7e3
commit
feb3798283
@ -1 +0,0 @@
|
|||||||
export * from './healthHandler.js';
|
|
@ -12,7 +12,7 @@ import dynamicRateLimit from './middleware/rateLimit.js';
|
|||||||
import config from './services/config.js';
|
import config from './services/config.js';
|
||||||
import logger from './services/logger.js';
|
import logger from './services/logger.js';
|
||||||
import { generateRuntimeConfig } from './services/runtimeConfig.js';
|
import { generateRuntimeConfig } from './services/runtimeConfig.js';
|
||||||
import { healthCheckHandler } from './handlers';
|
import { healthCheckHandler } from './handlers/healthHandler.js';
|
||||||
|
|
||||||
const __filename = fileURLToPath(import.meta.url);
|
const __filename = fileURLToPath(import.meta.url);
|
||||||
const __dirname = dirname(__filename);
|
const __dirname = dirname(__filename);
|
||||||
|
@ -6,7 +6,7 @@ import { dirname, join } from 'path';
|
|||||||
import geoIPService from '../services/geoip.js';
|
import geoIPService from '../services/geoip.js';
|
||||||
import logger from '../services/logger.js';
|
import logger from '../services/logger.js';
|
||||||
import config from '../services/config.js';
|
import config from '../services/config.js';
|
||||||
import { healthCheckHandler } from '../handlers';
|
import { healthCheckHandler } from '../handlers/healthHandler.js';
|
||||||
import {
|
import {
|
||||||
BatchGeoIPRequest,
|
BatchGeoIPRequest,
|
||||||
BatchGeoIPResponse,
|
BatchGeoIPResponse,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user