mirror of
https://github.com/Lissy93/web-check.git
synced 2025-06-20 03:37:41 +02:00
Merge 0de5c4e37fe043c17c6b7d68899b46a3bc7131f2 into 99653868c7fa91eaca9684a69ecd86c3375b237e
This commit is contained in:
commit
9168462434
@ -53,7 +53,6 @@ const securityTxtHandler = async (urlParam) => {
|
||||
for (let path of SECURITY_TXT_PATHS) {
|
||||
try {
|
||||
const result = await fetchSecurityTxt(url, path);
|
||||
if (result && result.includes('<html')) return { isPresent: false };
|
||||
if (result) {
|
||||
return {
|
||||
isPresent: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user