diff --git a/frontend/src/components/Extractor.astro b/frontend/src/components/Extractor.astro index caabb59..a84a92b 100644 --- a/frontend/src/components/Extractor.astro +++ b/frontend/src/components/Extractor.astro @@ -243,7 +243,7 @@ const baseURL = import.meta.env.PUBLIC_BASE_URL; }); const isURL = (str) => { try { - new URL(string); + new URL(str); return true; } catch (err) { return false;