mirror of
https://github.com/praveentcom/openproxy.git
synced 2026-04-21 19:15:56 +02:00
chore: use node
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const path = require('path');
|
||||
const path = require('node:path');
|
||||
|
||||
require('dotenv').config({ path: path.resolve(__dirname, '../.env') });
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user