mirror of
https://github.com/praveentcom/openproxy.git
synced 2026-09-23 10:00:42 +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') });
|
require('dotenv').config({ path: path.resolve(__dirname, '../.env') });
|
||||||
|
|
||||||
|
|||||||
@@ -37,8 +37,8 @@
|
|||||||
|
|
||||||
import "dotenv/config";
|
import "dotenv/config";
|
||||||
|
|
||||||
import http, { IncomingMessage, ServerResponse } from "http";
|
import http, { IncomingMessage, ServerResponse } from "node:http";
|
||||||
import { TextDecoder } from "util";
|
import { TextDecoder } from "node:util";
|
||||||
import { Pool } from "pg";
|
import { Pool } from "pg";
|
||||||
import { v4 as uuidv4 } from "uuid";
|
import { v4 as uuidv4 } from "uuid";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user