mirror of
https://codeberg.org/alicia/web-check.git
synced 2026-03-14 14:45:48 +01:00
Adds checking for Blocklists
This commit is contained in:
parent
6b8c50a9aa
commit
519d2f0f79
5 changed files with 39 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ exports.handler = middleware(async (url) => {
|
|||
const results = await checkDomainAgainstDnsServers(domain);
|
||||
return {
|
||||
statusCode: 200,
|
||||
body: JSON.stringify(results)
|
||||
body: JSON.stringify({ blocklists: results })
|
||||
};
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue