Skip to content

Commit

Permalink
test(arns e2e): correct redirect target protocol PE-6562
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
djwhitt committed Sep 9, 2024
1 parent a79c9d6 commit 44d1de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/end-to-end/arns.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44d1de4

Please sign in to comment.