fix(warp-proxy): host.docker.internal

This commit is contained in:
JamesFlare1212
2026-04-06 18:19:48 -04:00
parent 352e32d38b
commit 480ba14688
4 changed files with 6 additions and 302 deletions

View File

@@ -10,7 +10,7 @@ let _inMemoryCookies: Cookie[] | null = null;
// Proxy configuration
const USE_PROXY = process.env.USE_PROXY === 'true';
const PROXY_SERVER = process.env.ALL_PROXY || process.env.HTTP_PROXY || `socks5://warp-proxy:9091`;
const PROXY_SERVER = process.env.ALL_PROXY || process.env.HTTP_PROXY || `http://host.docker.internal:9091`;
/**
* Login using Playwright and extract cookies