From 80221185005d7f7c684532023e65663edc4f7b23 Mon Sep 17 00:00:00 2001 From: Praveen Thirumurugan Date: Sun, 28 Dec 2025 02:09:13 +0530 Subject: [PATCH] chore: use node --- dashboard/next.config.js | 2 +- proxy.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dashboard/next.config.js b/dashboard/next.config.js index 14e1a09..fb96eef 100644 --- a/dashboard/next.config.js +++ b/dashboard/next.config.js @@ -1,4 +1,4 @@ -const path = require('path'); +const path = require('node:path'); require('dotenv').config({ path: path.resolve(__dirname, '../.env') }); diff --git a/proxy.ts b/proxy.ts index b314519..5f62a42 100644 --- a/proxy.ts +++ b/proxy.ts @@ -37,8 +37,8 @@ import "dotenv/config"; -import http, { IncomingMessage, ServerResponse } from "http"; -import { TextDecoder } from "util"; +import http, { IncomingMessage, ServerResponse } from "node:http"; +import { TextDecoder } from "node:util"; import { Pool } from "pg"; import { v4 as uuidv4 } from "uuid";