mirror of
https://github.com/tiennm99/old-free-domains.git
synced 2026-10-17 10:14:47 +00:00
Update raw-api.js
This commit is contained in:
1 parent
3b2852c102
commit
25cd439138
1 file changed
+1
-1
+1
-1
@@ -34,7 +34,7 @@ fs.readdir(directoryPath, function (err, files) {
|
||||
combinedArray = combinedArray.concat(dataArray);
|
||||
|
||||
if (combinedArray.length === files.length) {
|
||||
fs.writeFile("main/index.json", JSON.stringify(combinedArray), (err) => {
|
||||
fs.writeFile("raw-api/index.json", JSON.stringify(combinedArray), (err) => {
|
||||
if (err) throw err;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user