Update dnsconfig.js

This commit is contained in:
William Harrison
2024-10-17 18:35:11 +08:00
committed by GitHub
parent 6dc65de528
commit f93f784d43
+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('/').pop();
var name = files[i].split('/').pop().replace(/\.json$/, '');
result.push({ name: name, data: require(files[i]) });
}