fix: use an invalid TLD for the test URL (#45375)

This commit is contained in:
Lasse Jørgensen
2022-03-09 10:52:31 +01:00
committed by GitHub
parent dc26f5906f
commit b39716539b

View File

@ -96,7 +96,7 @@ async (getUserInput) => {
const res = await fetch(url + '/api/shorturl', {
method: 'POST',
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: `url=ftp:/john-doe.org`
body: `url=ftp:/john-doe.invalidTLD`
});
if (res.ok) {
const { error } = await res.json();