1
mirror of https://github.com/jakejarvis/hoot.git synced 2025-10-18 20:14:25 -04:00

Update GitHub Pages rule to allow multiple header conditions

This commit is contained in:
2025-10-15 10:31:34 -04:00
parent 4c741296cf
commit f00065281f
2 changed files with 8 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ export const EMAIL_PROVIDERS: Array<
name: "Microsoft 365",
domain: "office.com",
category: "email",
rule: { kind: "mxSuffix", suffix: "mail.protection.outlook.com" },
rule: { kind: "mxSuffix", suffix: "protection.outlook.com" },
},
{
name: "Zoho",

View File

@@ -74,9 +74,14 @@ export const HOSTING_PROVIDERS: Array<
},
{
name: "GitHub Pages",
domain: "github.com",
domain: "docs.github.com",
category: "hosting",
rule: { kind: "headerEquals", name: "server", value: "github.com" },
rule: {
any: [
{ kind: "headerPresent", name: "x-github-request-id" },
{ kind: "headerEquals", name: "server", value: "github.com" },
],
},
},
{
name: "GitLab Pages",