diff --git a/domains/_vercel.khoacao.json b/domains/_vercel.khoacao.json new file mode 100644 index 000000000..a3ae78ba0 --- /dev/null +++ b/domains/_vercel.khoacao.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "khoacao2k4", + "email": "cqnhatkhoa@gmail.com" + }, + "record": { + "TXT": ["vc-domain-verify=khoacao.is-a.dev,9b86aeda2d7aa9f99748"] + } +} diff --git a/domains/_vercel.snowy.json b/domains/_vercel.snowy.json new file mode 100644 index 000000000..4810ff204 --- /dev/null +++ b/domains/_vercel.snowy.json @@ -0,0 +1,8 @@ +{ + "owner": { + "username": "HayBael" + }, + "record": { + "TXT": ["vc-domain-verify=snowy.is-a.dev,710433a43c7209070848"] + } +} diff --git a/domains/_vercel.swami.json b/domains/_vercel.swami.json new file mode 100644 index 000000000..96e206351 --- /dev/null +++ b/domains/_vercel.swami.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "aadltya" + }, + "record": { + "TXT": [ + "vc-domain-verify=swami.is-a.dev,ebd6de23b5512663a728" + ] + } +} \ No newline at end of file diff --git a/domains/gary.json b/domains/gary.json new file mode 100644 index 000000000..7947054c1 --- /dev/null +++ b/domains/gary.json @@ -0,0 +1,11 @@ +{ + "description": "gary site", + "repo": "https://github.com/Zach11111/garysite", + "owner": { + "username": "zach11111", + "email": "contact@garybot.dev" + }, + "record": { + "URL": "https://garylovesclimbingtreesexploringplacesandchasingbutterflies.garythecatisanadorablefelinealwaysseekingfunandadventure.site" + } +} diff --git a/domains/ghostman.json b/domains/ghostman.json new file mode 100644 index 000000000..e21c44a0f --- /dev/null +++ b/domains/ghostman.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "ghostMan-pac", + "email": "asifp3104@gmail.com" + }, + "record": { + "CNAME": "ghostMan-pac.github.io" + } +} diff --git a/domains/khoacao.json b/domains/khoacao.json new file mode 100644 index 000000000..e70254090 --- /dev/null +++ b/domains/khoacao.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "khoacao2k4", + "email": "cqnhatkhoa@gmail.com" + }, + "record": { + "CNAME": "khoa-cao-website.vercel.app" + } +} diff --git a/domains/s1ow.json b/domains/s1ow.json new file mode 100644 index 000000000..e26a5106b --- /dev/null +++ b/domains/s1ow.json @@ -0,0 +1,22 @@ +{ + "description": "! s1owmotion.0 profile page", + "repository": "https://github.com/H4iPh0ngM1enB4c/Web", + "owner": { + "username": "H4iPh0ngM1enB4c", + "email": "noobdownload2@gmail.com", + "discord": "1027559943462727740" + }, + "record": { + "A": [ + "185.199.108.153", + "185.199.110.153", + "185.199.109.153", + "185.199.111.153" + ], + "MX": [ + "mx1.improvmx.com", + "mx2.improvmx.com" + ], + "TXT": "v=spf1 include:spf.improvmx.com ~all" + } +} diff --git a/domains/snowy.json b/domains/snowy.json index 8f7de18f7..bbe363e7c 100644 --- a/domains/snowy.json +++ b/domains/snowy.json @@ -1,9 +1,8 @@ { "owner": { - "username": "HayBael", - "email": "rakhakhairydarka801@gmail.com" + "username": "HayBael" }, "record": { - "URL": "https://homepage-revisiakhir.vercel.app" + "CNAME": "homepage-revisitrus.vercel.app" } } diff --git a/tests/records.test.js b/tests/records.test.js index d819fa9b9..de5ecbadc 100644 --- a/tests/records.test.js +++ b/tests/records.test.js @@ -165,13 +165,8 @@ t("All files should have valid record values", (t) => { } if (key === "URL") { + t.true(value.startsWith("http://") || value.startsWith("https://"), `${file}: Record value for ${key} must start with http:// or https://`) t.notThrows(() => new URL(value), `${file}: Invalid URL for ${key}`); - try { - const urlObj = new URL(value); - t.true(urlObj.hostname !== subdomain, `${file}: URL cannot point to itself`); - } catch { - t.fail(`${file}: Invalid URL for ${key}`); - } } }