From 28178abbe56701ea097c9768882bf3fa6889bd95 Mon Sep 17 00:00:00 2001 From: Manohar Date: Fri, 8 May 2026 16:33:15 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20remove=20import.meta=20(ESM-only)=20?= =?UTF-8?q?=E2=80=94=20use=20native=20=5F=5Fdirname=20in=20CJS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/server.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/api/server.ts b/src/api/server.ts index adb3b98..6ca9d0f 100644 --- a/src/api/server.ts +++ b/src/api/server.ts @@ -1,10 +1,8 @@ import express from 'express'; import path from 'path'; -import { fileURLToPath } from 'url'; import { db } from '../db/client.js'; import { isMarketOpen } from '../tracker/market-hours.js'; -const __dirname = path.dirname(fileURLToPath(import.meta.url)); export function createServer(): express.Application { const app = express();