mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 21:24:35 +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 => {
|
L.resolveDefault(fs.list('/etc/ssl/acme/'), []).then(files => {
|
||||||
let certs = [];
|
let certs = [];
|
||||||
for (let f of files) {
|
for (let f of files) {
|
||||||
if (f.type == 'file' && f.name.match(/\.fullchain\.crt$/)) {
|
if (f.name.match(/\.fullchain\.crt$/)) {
|
||||||
certs.push(f);
|
certs.push(f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user