mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-06-03 04:11:08 +00:00
Update dnsconfig.js
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ function getDomainsList(filesPath) {
|
||||
var files = glob.apply(null, [filesPath, true, '.json']);
|
||||
|
||||
for (var i = 0; i < files.length; i++) {
|
||||
var name = files[i].split('.').slice(0, -1).join('.');
|
||||
var name = files[i].split('/').pop();
|
||||
|
||||
result.push({ name: name, data: require(files[i]) });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user