Update dnsconfig.js

This commit is contained in:
William Harrison
2024-10-17 18:32:34 +08:00
committed by GitHub
parent e7e3115dc1
commit 6dc65de528
+1 -1
View File
@@ -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]) });
}