Make sure we use a different version.txt to prevent having to redownload DB

This commit is contained in:
Reinier Criel 2025-10-24 09:59:53 -07:00
parent b5988e19c1
commit 15785fad73
4 changed files with 28 additions and 22 deletions

View file

@ -111,7 +111,6 @@ function handleConnect(req, clientSocket, head) {
// CONNECT method is used for HTTPS requests
// It establishes a tunnel to the server identified by the request URL
console.log("**registryProxy.js** Handling CONNECT request for:", req.url);
if ((knownJsRegistries.some((reg) => req.url.includes(reg)))
|| (knownPipRegistries.some((reg) => req.url.includes(reg)))) {
mitmConnect(req, clientSocket, isAllowedUrl);