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:
@@ -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",
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user