mirror of
https://github.com/Lissy93/web-check.git
synced 2025-06-21 04:07:45 +02:00
Merge 0de5c4e37fe043c17c6b7d68899b46a3bc7131f2 into 20d08290afb78c03cf9ccafb3149418bd6e7d8d0
This commit is contained in:
commit
95238717c4
@ -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