mirror of
https://github.com/praveentcom/openproxy.git
synced 2026-02-12 14:02:46 +00: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') });
|
||||
|
||||
|
||||
4
proxy.ts
4
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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user