mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 14:54:36 +04:00
luci-app-acme: fixed the issue where certificates were not displaying (#8151)
* luci-app-acme: fixed the issue where certificates were not displaying
This commit is contained in:
@@ -12,7 +12,7 @@ return view.extend({
|
||||
L.resolveDefault(fs.list('/etc/ssl/acme/'), []).then(files => {
|
||||
let certs = [];
|
||||
for (let f of files) {
|
||||
if (f.type == 'file' && f.name.match(/\.fullchain\.crt$/)) {
|
||||
if (f.name.match(/\.fullchain\.crt$/)) {
|
||||
certs.push(f);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user