mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-13 12:14:46 +00:00
Merge branch 'main' into main
This commit is contained in:
3 files changed
+10
-9
No files matched your search
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"owner": {
|
||||||
|
"username": "eduardosilveiradev",
|
||||||
|
"email": "admin@gaithano.com"
|
||||||
|
},
|
||||||
|
"records": {
|
||||||
|
"CNAME": "eduardosilveiradimaro.pages.dev"
|
||||||
|
}
|
||||||
|
}
|
||||||
+1
-1
@@ -4,6 +4,6 @@
|
|||||||
"email": "Samuraiflamesf@gmail.com"
|
"email": "Samuraiflamesf@gmail.com"
|
||||||
},
|
},
|
||||||
"records": {
|
"records": {
|
||||||
"A": ["152.67.45.142"]
|
"A": ["158.69.201.53"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -89,14 +89,6 @@ fs.readdir(directoryPath, function (err, files) {
|
|||||||
if (processedCount === files.length) {
|
if (processedCount === files.length) {
|
||||||
v2.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({"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({"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/v2.json", JSON.stringify(v2), (err) => {
|
fs.writeFile("raw-api/v2.json", JSON.stringify(v2), (err) => {
|
||||||
if (err) throw err;
|
if (err) throw err;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user