Skip to content

Commit

Permalink
fix test URL
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Oct 9, 2024
1 parent 913ebcc commit 00b5bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-nginx.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ describe('nginx config', () => {

it('should reject HTTPS requests with incorrect host header supplied', async () => {
// when
const res = await fetchHttps('/.well-known/acme-challenge', { headers:{ host:'bad.example.com' } });
const res = await fetchHttps('/', { headers:{ host:'bad.example.com' } });

// then
assert.equal(res.status, 421);
Expand Down

0 comments on commit 00b5bd7

Please sign in to comment.