mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-12 22:14:49 +00:00
Merge branch 'main' into main
This commit is contained in:
2 files changed
+4
-2
No files matched your search
@@ -10,6 +10,8 @@ on:
|
||||
- "tests/*"
|
||||
- "util/*"
|
||||
- ".github/workflows/ci.yml"
|
||||
- "package.json"
|
||||
- "package-lock.json"
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
+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]) {
|
||||
|
||||
Reference in new issue
Block a user