mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-08-07 02:25:03 +00:00
Update raw-api.js
This commit is contained in:
+3
-3
@@ -1,9 +1,9 @@
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
|
||||
const directoryPath = path.join(__dirname, "domains");
|
||||
const reserved = require("./util/reserved.json");
|
||||
const outputDir = path.join(__dirname, "raw-api");
|
||||
const directoryPath = path.join(__dirname, "../domains");
|
||||
const reserved = require(path.join(__dirname, "reserved.json"));
|
||||
const outputDir = path.join(__dirname, "../raw-api");
|
||||
|
||||
if (!fs.existsSync(outputDir)) {
|
||||
fs.mkdirSync(outputDir, { recursive: true });
|
||||
|
||||
Reference in New Issue
Block a user