Add missing import (ui) in mitmRequestHandler.js

This commit is contained in:
Sander Declerck 2025-10-31 11:38:39 +01:00
parent bae43d0dcd
commit df5c424a42
No known key found for this signature in database

View file

@ -1,6 +1,7 @@
import https from "https"; import https from "https";
import { generateCertForHost } from "./certUtils.js"; import { generateCertForHost } from "./certUtils.js";
import { HttpsProxyAgent } from "https-proxy-agent"; import { HttpsProxyAgent } from "https-proxy-agent";
import { ui } from "../environment/userInteraction.js";
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}`);