Skip to content

Commit

Permalink
Merge pull request #49 from Freegle/fix-google-domain
Browse files Browse the repository at this point in the history
Update EmailValidator.vue
  • Loading branch information
edwh authored Oct 31, 2023
2 parents db4e419 + a483e8e commit 64da8d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/EmailValidator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default {
let isValidDomain = true;
try {
const domain = value.substring(value.indexOf('@') + 1)
const url = new URL('https://dns.googlee/resolve');
const url = new URL('https://dns.google/resolve');
url.search = new URLSearchParams({ name: domain }).toString();
const googleResponse = await fetch(url).then(response => response);
const { Status: status } = await googleResponse.json();
Expand Down

0 comments on commit 64da8d5

Please sign in to comment.