Merge 0de5c4e37fe043c17c6b7d68899b46a3bc7131f2 into 99653868c7fa91eaca9684a69ecd86c3375b237e

This commit is contained in:
Samuel Aubert 2025-04-11 19:50:13 +02:00 committed by GitHub
commit 9168462434
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,7 +53,6 @@ const securityTxtHandler = async (urlParam) => {
for (let path of SECURITY_TXT_PATHS) { for (let path of SECURITY_TXT_PATHS) {
try { try {
const result = await fetchSecurityTxt(url, path); const result = await fetchSecurityTxt(url, path);
if (result && result.includes('<html')) return { isPresent: false };
if (result) { if (result) {
return { return {
isPresent: true, isPresent: true,