From 44d1de4fdf7c7ace90a27bcaf437c80a4bed399b Mon Sep 17 00:00:00 2001 From: David Whittington Date: Mon, 9 Sep 2024 13:03:38 -0500 Subject: [PATCH] test(arns e2e): correct redirect target protocol PE-6562 This was likely set to match a local config that was overriding the default. We default to redirect to https since that's what we recommend and what most users use. --- test/end-to-end/arns.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/end-to-end/arns.test.ts b/test/end-to-end/arns.test.ts index 53711293..8586a7ba 100644 --- a/test/end-to-end/arns.test.ts +++ b/test/end-to-end/arns.test.ts @@ -95,7 +95,7 @@ describe('ArNS', function () { const txId = 'TB2wJyKrPnkAW79DAwlJYwpgdHKpijEJWQfcwX715Co'; const expectedSandbox = 'jqo3ajzcvm7hsac3x5bqgckjmmfga5dsvgfdcckza7omc7xv4qva'; - const expectedRedirect = `http://${expectedSandbox}.ar-io.localhost/${txId}?`; + const expectedRedirect = `https://${expectedSandbox}.ar-io.localhost/${txId}?`; const res = await axios.get(`http://localhost:4000/${txId}`, { headers: { Host: 'ardrive.ar-io.localhost' }, maxRedirects: 0, // Prevent axios from following redirects