Fixed proxy test not using proxy.
This commit is contained in:
@@ -114,7 +114,7 @@ async function startMemorySample(snapshotTriggers = []) {
|
||||
|
||||
async function testProxy() {
|
||||
if (config.proxy.enable && argv.testProxy) {
|
||||
const res = await unprint.get(argv.testProxy);
|
||||
const res = await unprint.get(argv.testProxy, { useProxy: true });
|
||||
|
||||
if (!res.ok) {
|
||||
throw new Error(`Proxy is offline (${res.status})`);
|
||||
|
||||
Reference in New Issue
Block a user