Fix linting issue

This commit is contained in:
Sander Declerck 2025-09-30 13:53:59 +02:00
parent e2afcb16e3
commit a3f91b8b55
No known key found for this signature in database

View file

@ -1,6 +1,5 @@
import https from "https"; import https from "https";
import { generateCertForHost } from "./certUtils.js"; import { generateCertForHost } from "./certUtils.js";
import chalk from "chalk";
export function mitmConnect(req, clientSocket, isAllowed) { export function mitmConnect(req, clientSocket, isAllowed) {
const { hostname } = new URL(`http://${req.url}`); const { hostname } = new URL(`http://${req.url}`);