mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-13 12:14:46 +00:00
Merge branch 'main' into main
This commit is contained in:
7 files changed
+34
-4
No files matched your search
@@ -10,6 +10,8 @@ on:
|
||||
- "tests/*"
|
||||
- "util/*"
|
||||
- ".github/workflows/ci.yml"
|
||||
- "package.json"
|
||||
- "package-lock.json"
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "Piyush-Sagar",
|
||||
"email": "sagarpiyush.27@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"TXT": "vc-domain-verify=piyush.is-a.dev,3332d110f16d6401a6ce"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "Piyush-Sagar",
|
||||
"email": "sagarpiyush.27@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"A": [
|
||||
"216.198.79.1"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "tatpow"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "tatpow.github.io"
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -50,7 +50,7 @@ t("Domains with proxy enabled must have at least one proxy-able record", (t) =>
|
||||
});
|
||||
});
|
||||
|
||||
const disallowedRecords = [
|
||||
const unproxyable = [
|
||||
{
|
||||
type: "CNAME",
|
||||
value: "*.onrender.com"
|
||||
@@ -62,7 +62,7 @@ t("Domains with specific records must not have proxy enabled", (t) => {
|
||||
const data = getDomainData(file);
|
||||
|
||||
if (data.proxied) {
|
||||
disallowedRecords.forEach((record) => {
|
||||
unproxyable.forEach((record) => {
|
||||
let recordExists = false;
|
||||
|
||||
if (!data.records[record.type]) {
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
"ns2",
|
||||
"ns3",
|
||||
"ns4",
|
||||
"ns5",
|
||||
"ns6",
|
||||
"raw",
|
||||
"www"
|
||||
]
|
||||
@@ -79,8 +79,6 @@
|
||||
"notifications",
|
||||
"ns",
|
||||
"ns0",
|
||||
"ns5",
|
||||
"ns6",
|
||||
"ns7",
|
||||
"ns8",
|
||||
"ns9",
|
||||
|
||||
Reference in new issue
Block a user