diff --git a/domains/_gh-profilie-o.harys.json b/domains/_gh-profilie-o.harys.json new file mode 100644 index 0000000000..79a4b78081 --- /dev/null +++ b/domains/_gh-profilie-o.harys.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "harys722", + "email": "contact@harys.is-a.dev", + "discord": "1203357768610746385" + }, + "records": { + "TXT": "f0734e08ad" + } +} diff --git a/domains/_github-pages-challenge-defpythoncoder.python-coder.json b/domains/_github-pages-challenge-defpythoncoder.python-coder.json new file mode 100644 index 0000000000..1a76fb8a86 --- /dev/null +++ b/domains/_github-pages-challenge-defpythoncoder.python-coder.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "defPythonCoder", + "discord": "pyth0ncoder" + }, + "records": { + "TXT": "d26c73a6ed3e3de80e7d851b5170c5" + } +} diff --git a/domains/_github-pages-challenge-justinianus2001.justinianus.json b/domains/_github-pages-challenge-justinianus2001.justinianus.json new file mode 100644 index 0000000000..a5caafffea --- /dev/null +++ b/domains/_github-pages-challenge-justinianus2001.justinianus.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Justinianus2001", + "email": "lengochoang681@gmail.com" + }, + "records": { + "TXT": "162018c708ec9cc18a08e5bec4453f" + } +} \ No newline at end of file diff --git a/domains/_vercel.ameya.json b/domains/_vercel.ameya.json new file mode 100644 index 0000000000..386c65cab1 --- /dev/null +++ b/domains/_vercel.ameya.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "ameya051", + "email": "ameyshri051@gmail.com" + }, + "records": { + "TXT": "vc-domain-verify=ameya.is-a.dev,7c2ae8e962ac3a309cf9" + } +} diff --git a/domains/_vercel.anindya.json b/domains/_vercel.anindya.json new file mode 100644 index 0000000000..10e9c18d3a --- /dev/null +++ b/domains/_vercel.anindya.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "itsanindyak", + "email": "ankoley9@gmail.com" + }, + "records": { + "TXT": "vc-domain-verify=anindya.is-a.dev,4168d199b47b8e7f6407" + } +} \ No newline at end of file diff --git a/domains/_vercel.mishrashardendu22.json b/domains/_vercel.mishrashardendu22.json index ec44968573..a5ac066e1f 100644 --- a/domains/_vercel.mishrashardendu22.json +++ b/domains/_vercel.mishrashardendu22.json @@ -4,6 +4,6 @@ "email": "shardendumishrabrave@gmail.com" }, "records": { - "TXT": "vc-domain-verify=mishrashardendu22.is-a.dev,30dd1fae18cefd193393" + "TXT": "vc-domain-verify=mishrashardendu22.is-a.dev,e7f7f1e23fdb921429bc" } } diff --git a/domains/_vercel.samuel.json b/domains/_vercel.samuel.json new file mode 100644 index 0000000000..a1d91d3925 --- /dev/null +++ b/domains/_vercel.samuel.json @@ -0,0 +1,10 @@ +{ + "description": "Samuel portfolio website", + "owner": { + "username": "Orpheros", + "instagram": "astrielmaria" + }, + "records": { + "TXT": "vc-domain-verify=samuel.is-a.dev,520fdd6a60c47a735da5" + } +} diff --git a/domains/_vercel.srikar.json b/domains/_vercel.srikar.json new file mode 100644 index 0000000000..5ad6e4fc01 --- /dev/null +++ b/domains/_vercel.srikar.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Mystery-Coder", + "email": "srikar0811@gmail.com" + }, + "records": { + "TXT": "vc-domain-verify=srikar.is-a.dev,f161c6b32914a02a7a61" + } +} diff --git a/domains/_vercel.stringhost.json b/domains/_vercel.stringhost.json new file mode 100644 index 0000000000..1f2e9d53a6 --- /dev/null +++ b/domains/_vercel.stringhost.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "StrinGhost", + "email": "stringhost.local@gmail.com" + }, + "records": { + "TXT": "vc-domain-verify=stringhost.is-a.dev,13ec6a0c66832fbd5d68" + } +} \ No newline at end of file diff --git a/domains/aitji.json b/domains/aitji.json index eec44ecd6a..9b57d1249a 100644 --- a/domains/aitji.json +++ b/domains/aitji.json @@ -4,6 +4,17 @@ "email": "ait.suriya@gmail.com" }, "records": { - "A": ["76.76.21.21"] + "A": ["76.76.21.21"], + "MX": [ + { + "target": "mx1.improvmx.com", + "priority": 10 + }, + { + "target": "mx2.improvmx.com", + "priority": 20 + } + ], + "TXT": ["v=spf1 include:spf.improvmx.com ~all"] } -} +} \ No newline at end of file diff --git a/domains/alex-luehm.json b/domains/alex-luehm.json new file mode 100644 index 0000000000..acc866adc7 --- /dev/null +++ b/domains/alex-luehm.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Luehm", + "email": "alex+is-a-dev@luehm.com" + }, + "records": { + "URL": "https://luehm.com" + } +} diff --git a/domains/alexravenna.json b/domains/alexravenna.json new file mode 100644 index 0000000000..9cb08486f0 --- /dev/null +++ b/domains/alexravenna.json @@ -0,0 +1,11 @@ +{ + "description": "My personal website", + "repo": "https://github.com/alexravenna/alexravenna.github.io", + "owner": { + "username": "alexravenna", + "email": "alex.n.ravenna@gmail.com" + }, + "records": { + "CNAME": "alexravenna.github.io" + } +} diff --git a/domains/alfareza.json b/domains/alfareza.json new file mode 100644 index 0000000000..778b382c12 --- /dev/null +++ b/domains/alfareza.json @@ -0,0 +1,11 @@ +{ + "description": "Alfareza sites", + "repo": "https://github.com/Alfareza-dev/Meteor-Web", + "owner": { + "username": "Alfareza-dev", + "email": "alfareza.backup@gmail.com" + }, + "records": { + "CNAME": "Alfareza-dev.github.io" + } +} diff --git a/domains/ameya.json b/domains/ameya.json new file mode 100644 index 0000000000..062db6ee4b --- /dev/null +++ b/domains/ameya.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "ameya051", + "email": "ameyshri051@gmail.com" + }, + "records": { + "CNAME": "cname.vercel-dns.com" + } +} diff --git a/domains/andregottgtroy.json b/domains/andregottgtroy.json new file mode 100644 index 0000000000..f5dca4eb49 --- /dev/null +++ b/domains/andregottgtroy.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Kronter", + "email": "andregot@gmail.com" + }, + "records": { + "CNAME": "kronter.github.io" + } +} diff --git a/domains/anindya.json b/domains/anindya.json new file mode 100644 index 0000000000..41c1d61ec1 --- /dev/null +++ b/domains/anindya.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "itsanindyak", + "email": "ankoley9@gmail.com" + }, + "records": { + "A": ["216.198.79.1"] + } +} \ No newline at end of file diff --git a/domains/api.wood.json b/domains/api.wood.json new file mode 100644 index 0000000000..567c5df45a --- /dev/null +++ b/domains/api.wood.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "hyz", + "email": "0xeeef@gmail.com" + }, + "records": { + "CNAME": "wood.is-a.dev" + } +} diff --git a/domains/aqtk.json b/domains/aqtk.json deleted file mode 100644 index fe491401fc..0000000000 --- a/domains/aqtk.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "GoldenStarGamer", - "email": "vicentetavareslima@gmail.com" - }, - "records": { - "A": ["75.2.60.5"] - } -} diff --git a/domains/aryansaxena.json b/domains/aryansaxena.json new file mode 100644 index 0000000000..c77e5aacb9 --- /dev/null +++ b/domains/aryansaxena.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "aryansaxenaa", + "email": "aryansaxenaalig@gmail.com" + }, + "records": { + "CNAME": "aryansaxenaa.github.io" + }, + "proxied": true +} diff --git a/domains/azrul.json b/domains/azrul.json new file mode 100644 index 0000000000..cd17a046fc --- /dev/null +++ b/domains/azrul.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "azrul16", + "email": "azrul.amaline16@gmail.com" + }, + "records": { + "A": ["75.2.60.5"] + } +} diff --git a/domains/cosintan.json b/domains/cosintan.json index be5f81a6be..8e7d06c60c 100644 --- a/domains/cosintan.json +++ b/domains/cosintan.json @@ -1,9 +1,12 @@ { - "owner": { - "username": "cosintan-tg", - "email": "cosintan.tg@gmail.com" - }, - "records": { - "CNAME": "cname.vercel-dns.com" - } + "owner": { + "username": "cosintan-tg", + "email": "cosintan.tg@gmail.com" + }, + "records": { + "CNAME": "cname.vercel-dns.com", + "MX": ["mx01.mail.icloud.com", "mx02.mail.icloud.com"], + "TXT": ["apple-domain=LiWFOklmiBC4xnoS", "v=spf1 include:icloud.com ~all"] + }, + "proxied": true } diff --git a/domains/daisukie.json b/domains/daisukie.json new file mode 100644 index 0000000000..2401d2a2c1 --- /dev/null +++ b/domains/daisukie.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "DaisuKiee", + "email": "vincentbernaberomeo@gmail.com" + }, + "records": { + "CNAME": "daisukiee.github.io" + } +} diff --git a/domains/devesh.json b/domains/devesh.json new file mode 100644 index 0000000000..029c4bdb0e --- /dev/null +++ b/domains/devesh.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "techux", + "email": "deveshkumarsing75@gmail.com" + }, + "records": { + "CNAME": "techux.github.io" + } +} diff --git a/domains/ezra.json b/domains/ezra.json index 42435fe2ae..f3286b956b 100644 --- a/domains/ezra.json +++ b/domains/ezra.json @@ -4,7 +4,8 @@ "email": "ezraclintoc@gmail.com" }, "records": { - "A": ["92.84.62.105", "24.26.195.207"] - }, - "proxied": true + "A": ["24.26.195.207", "92.84.62.105"], + "TXT": "dh=8b73807376d6714b949ae07f9e2b9e046004b818" + } } + diff --git a/domains/flux.json b/domains/flux.json new file mode 100644 index 0000000000..0446685418 --- /dev/null +++ b/domains/flux.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "snicks-a-s-l", + "email": "arabt3mpest@gmail.com" + }, + "records": { + "CNAME": "snick-vps.duckdns.org" + }, + "proxied": true +} diff --git a/domains/fmotalleb.json b/domains/fmotalleb.json index 588170a225..4687777103 100644 --- a/domains/fmotalleb.json +++ b/domains/fmotalleb.json @@ -1,10 +1,14 @@ { - "description": "This subdomain is for my personal portfolio website.", + "description": "This subdomain is for my personal portfolio website. it may contain subdomains for various projects and experiments.", "owner": { "username": "fmotalleb", - "email": "fmotalleb@gmail.com" + "email": "fmotalleb@gmail.com", + "telegram": "https://t.me/fmotalleb" }, "records": { - "CNAME": "wwww.lil-moti.ir" + "NS": [ + "lovisa.ns.cloudflare.com", + "sonny.ns.cloudflare.com" + ] } } \ No newline at end of file diff --git a/domains/franciscovmag.json b/domains/franciscovmag.json new file mode 100644 index 0000000000..c95b7f43a8 --- /dev/null +++ b/domains/franciscovmag.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "ynk0", + "email": "franciscovmag@hotmail.com" + }, + "records": { + "CNAME": "ynk0.github.io" + } +} diff --git a/domains/frankiebpinat.json b/domains/frankiebpinat.json new file mode 100644 index 0000000000..6194706c80 --- /dev/null +++ b/domains/frankiebpinat.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "POGsss", + "email": "frankiepinat14@gmail.com" + }, + "records": { + "CNAME": "pogsss.github.io" + } +} diff --git a/domains/jacobmalmberg.json b/domains/jacobmalmberg.json index de35639b4c..2a81ef5049 100644 --- a/domains/jacobmalmberg.json +++ b/domains/jacobmalmberg.json @@ -4,6 +4,8 @@ "email": "jacob_ost@hotmail.com" }, "records": { - "CNAME": "cname.vercel-dns.com" - } + "CNAME": "cname.vercel-dns.com", + "TXT": "google-site-verification=IGGOBkDDOAkrFU3c5a5dT5D5BFhKs_j4qzd4plZYI-E" + }, + "proxied": true } diff --git a/domains/jie.json b/domains/jie.json new file mode 100644 index 0000000000..97d2ef6071 --- /dev/null +++ b/domains/jie.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "jiewong42", + "email": "hello@jiewong.com" + }, + "records": { + "CNAME": "jie-bzr.pages.dev" + } +} diff --git a/domains/juanix.json b/domains/juanix.json new file mode 100644 index 0000000000..f478b43f21 --- /dev/null +++ b/domains/juanix.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "newjuanix", + "email": "newjuanix@gmail.com" + }, + "records": { + "CNAME": "newjuanix.github.io" + } +} diff --git a/domains/justinianus.json b/domains/justinianus.json new file mode 100644 index 0000000000..4435ed1459 --- /dev/null +++ b/domains/justinianus.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Justinianus2001", + "email": "lengochoang681@gmail.com" + }, + "records": { + "CNAME": "justinianus2001.github.io" + } +} \ No newline at end of file diff --git a/domains/lnxm8.json b/domains/lnxm8.json new file mode 100644 index 0000000000..81982933b5 --- /dev/null +++ b/domains/lnxm8.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Luehm", + "email": "alioth+is-a-dev@lnxm8.net" + }, + "records": { + "URL": "https://luehm.com" + } +} diff --git a/domains/lopo.json b/domains/lopo.json new file mode 100644 index 0000000000..c79a083687 --- /dev/null +++ b/domains/lopo.json @@ -0,0 +1,8 @@ +{ + "owner": { + "username": "lopo12123" + }, + "records": { + "CNAME": "lopo12123.github.io" + } +} diff --git a/domains/luehm.json b/domains/luehm.json new file mode 100644 index 0000000000..acc866adc7 --- /dev/null +++ b/domains/luehm.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Luehm", + "email": "alex+is-a-dev@luehm.com" + }, + "records": { + "URL": "https://luehm.com" + } +} diff --git a/domains/mani.json b/domains/mani.json new file mode 100644 index 0000000000..e3e450a215 --- /dev/null +++ b/domains/mani.json @@ -0,0 +1,11 @@ +{ + "description": "Mani Prakash Reddy's Personal Portfolio", + "repo": "https://github.com/mani-prakash-reddy/portfolio_mine", + "owner": { + "username": "mani-prakash-reddy", + "email": "maniprakashreddy223230@gmail.com" + }, + "records": { + "CNAME": "mani-prakash-reddy.github.io" + } +} \ No newline at end of file diff --git a/domains/meowcat.json b/domains/meowcat.json new file mode 100644 index 0000000000..b06690e5fb --- /dev/null +++ b/domains/meowcat.json @@ -0,0 +1,13 @@ +{ + "owner": { + "username": "meowcat767" + }, + "records": { + "A": [ + "185.199.108.153", + "185.199.109.153", + "185.199.110.153", + "185.199.111.153" + ] + } +} diff --git a/domains/profile.yurei.json b/domains/profile.yurei.json new file mode 100644 index 0000000000..eb25c7bd53 --- /dev/null +++ b/domains/profile.yurei.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "yurehito", + "discord": "https://discord.com/users/998608551431897170" + }, + "records": { + "URL": "https://guns.lol/yurehito" + } +} diff --git a/domains/profilie.harys.json b/domains/profilie.harys.json index a977df9344..88b5257a12 100644 --- a/domains/profilie.harys.json +++ b/domains/profilie.harys.json @@ -1,10 +1,21 @@ { "owner": { "username": "harys722", - "email": "contact@harys.is-a.dev", - "discord": "1203357768610746385" + "discord": "1203357768610746385", + "email": "contact@harys.is-a.dev" }, "records": { - "URL": "https://profilie.github.io/" + "URL": "https://profilie.js.org/", + "TXT": "v=spf1 include:spf.improvmx.com ~all", + "MX": [ + { + "target": "mx1.improvmx.com", + "priority": 10 + }, + { + "target": "mx2.improvmx.com", + "priority": 20 + } + ] } } diff --git a/domains/python-coder.json b/domains/python-coder.json new file mode 100644 index 0000000000..bdbfd7dcdd --- /dev/null +++ b/domains/python-coder.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "defPythonCoder", + "discord": "pyth0ncoder" + }, + "records": { + "CNAME": "defpythoncoder.github.io" + } +} diff --git a/domains/rahulverma.json b/domains/rahulverma.json index 870628c520..08934acb6e 100644 --- a/domains/rahulverma.json +++ b/domains/rahulverma.json @@ -4,7 +4,6 @@ "email": "rahulverma.1.2005@gmail.com" }, "records": { - "CNAME": "rahul-verma.onrender.com" - }, - "proxied": false + "A": ["216.24.57.1"] + } } diff --git a/domains/samuel.json b/domains/samuel.json index 6cc57527e1..e8e8517d49 100644 --- a/domains/samuel.json +++ b/domains/samuel.json @@ -1,9 +1,10 @@ { "description": "Samuel portfolio website", "owner": { - "username": "Orpheros" + "username": "Orpheros", + "instagram": "astrielmaria" }, "records": { - "CNAME": "samuelyoung.vercel.app" + "A": ["216.198.79.1"] } } diff --git a/domains/sbdesigns.json b/domains/sbdesigns.json index 3925558f95..d6433d95cb 100644 --- a/domains/sbdesigns.json +++ b/domains/sbdesigns.json @@ -4,7 +4,13 @@ "email": "sebandblocks@turquoisetnt.one" }, "records": { - "CNAME": "sbdesigns.pages.dev" + "CNAME": "sbdesigns.pages.dev", + "MX": [ + { "target": "mx.zoho.eu", "priority": 10 }, + { "target": "mx2.zoho.eu", "priority": 20 }, + { "target": "mx3.zoho.eu", "priority": 50 } + ], + "TXT": "v=spf1 include:zohomail.eu ~all" }, - "proxied": false + "proxied": true } diff --git a/domains/srikar.json b/domains/srikar.json new file mode 100644 index 0000000000..b1c6fc61aa --- /dev/null +++ b/domains/srikar.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Mystery-Coder", + "email": "srikar0811@gmail.com" + }, + "records": { + "CNAME": "cname.vercel-dns.com" + } +} diff --git a/domains/static.wood.json b/domains/static.wood.json new file mode 100644 index 0000000000..567c5df45a --- /dev/null +++ b/domains/static.wood.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "hyz", + "email": "0xeeef@gmail.com" + }, + "records": { + "CNAME": "wood.is-a.dev" + } +} diff --git a/domains/stringhost.json b/domains/stringhost.json index 99fb59ea0e..66d4468eec 100644 --- a/domains/stringhost.json +++ b/domains/stringhost.json @@ -4,6 +4,6 @@ "email": "stringhost.local@gmail.com" }, "records": { - "CNAME": "stringhost.github.io" + "CNAME": "cname.vercel-dns.com" } } diff --git a/domains/tawhid.json b/domains/tawhid.json deleted file mode 100644 index 4396270f02..0000000000 --- a/domains/tawhid.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "Dumbo-programmer", - "email": "rony.120285d2k@gmail.com" - }, - "records": { - "A": ["52.74.232.59"] - } -} diff --git a/domains/twab.json b/domains/twab.json new file mode 100644 index 0000000000..9f0a53f033 --- /dev/null +++ b/domains/twab.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "twab-a11y", + "email": "twabgaming31@gmail.com" + }, + "records": { + "CNAME": "twab-a11y.github.io" + } +} diff --git a/domains/v.json b/domains/v.json new file mode 100644 index 0000000000..4afcd892bd --- /dev/null +++ b/domains/v.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "varunojhaa", + "email": "varunojhaa@proton.me" + }, + "records": { + "CNAME": "varunojhaa.pages.dev" + } +} diff --git a/domains/zmail._domainkey.sbdesigns.json b/domains/zmail._domainkey.sbdesigns.json new file mode 100644 index 0000000000..3441306458 --- /dev/null +++ b/domains/zmail._domainkey.sbdesigns.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "sebandblocks", + "email": "sebandblocks@turquoisetnt.one" + }, + "records": { + "TXT": "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCRH/DKV+EAPb/3ADnQxBMZiY15YblYbd13sJBzpSoVsMjwo3WtVK79xWH9JrG4tKiEJtqMQqo8n9cKyFe5SAw65JzwEzhnGbkG/R+7zGupANI7IGw0aQEHtw9d+Trc7GDq8fzv9mmQ8f25yTFntb/bpwZQcGOJ9xxOkoSine9hWQIDAQAB" + }, + "proxied": false +} diff --git a/util/raw-api.js b/util/raw-api.js index bc437ec402..0f53238de3 100644 --- a/util/raw-api.js +++ b/util/raw-api.js @@ -11,7 +11,6 @@ if (!fs.existsSync(outputDir)) { const internal = require(path.join(__dirname, "internal.json")); const reserved = require(path.join(__dirname, "reserved.json")); -const v1 = []; const v2 = []; for (const subdomain of internal) { @@ -27,11 +26,6 @@ for (const subdomain of internal) { CNAME: "internal.is-a.dev" }; - v1.push({ - ...commonData, - record: records - }); - v2.push({ ...commonData, records: records, @@ -52,11 +46,6 @@ for (const subdomain of reserved) { URL: "https://is-a.dev/reserved" }; - v1.push({ - ...commonData, - record: records - }); - v2.push({ ...commonData, records: records, @@ -83,13 +72,6 @@ fs.readdir(directoryPath, function (err, files) { delete item.owner.email; - let itemV1 = { - domain: item.domain, - subdomain: item.subdomain, - owner: item.owner, - record: item.records - }; - let itemV2 = { domain: item.domain, subdomain: item.subdomain, @@ -97,29 +79,21 @@ fs.readdir(directoryPath, function (err, files) { records: item.records }; - if (item.redirect_config) { - itemV1.redirect_config = item.redirect_config; - itemV2.redirect_config = item.redirect_config; - } + if (item.redirect_config) itemV2.redirect_config = item.redirect_config; - if (item.proxied) { - itemV1.proxied = item.proxied; - itemV2.proxied = item.proxied; - } + if (item.proxied) itemV2.proxied = item.proxied; - v1.push(itemV1); v2.push(itemV2); processedCount++; if (processedCount === files.length) { - v1.sort((a, b) => a.domain.localeCompare(b.subdomain)); v2.sort((a, b) => a.domain.localeCompare(b.subdomain)); - fs.writeFile("raw-api/index.json", JSON.stringify(v1), (err) => { + fs.writeFile("raw-api/index.json", JSON.stringify({"code":404,"message":"v1 of the Raw API is no longer available, please upgrade to v2 located at https://raw.is-a.dev/v2.json"}), (err) => { if (err) throw err; }); - fs.writeFile("raw-api/v1.json", JSON.stringify(v1), (err) => { + fs.writeFile("raw-api/v1.json", JSON.stringify({"code":404,"message":"v1 of the Raw API is no longer available, please upgrade to v2 located at https://raw.is-a.dev/v2.json"}), (err) => { if (err) throw err; });