mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-11 03:13:35 +00:00
Update proxy.test.js
This commit is contained in:
1 parent
975b26fda6
commit
c5eee89a95
1 file changed
+2
-2
+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