Update proxy.test.js

This commit is contained in:
William Harrison committed 2026-08-05 20:01:41 +08:00
1 parent 975b26fda6
commit c5eee89a95
1 file changed
+2 -2
+2 -2
View File
@@ -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]) {