From: zhusir Date: Mon, 15 Dec 2025 12:03:02 +0000 (+0800) Subject: luci-app-acme: fixed the issue where certificates were not displaying (#8151) X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=3b81fafa80f21a77eb4328648e30b87ec635fcaa;p=project%2Fluci.git luci-app-acme: fixed the issue where certificates were not displaying (#8151) * luci-app-acme: fixed the issue where certificates were not displaying --- diff --git a/applications/luci-app-acme/htdocs/luci-static/resources/view/acme/acme.js b/applications/luci-app-acme/htdocs/luci-static/resources/view/acme/acme.js index 9b09508367..31556cb3a0 100644 --- a/applications/luci-app-acme/htdocs/luci-static/resources/view/acme/acme.js +++ b/applications/luci-app-acme/htdocs/luci-static/resources/view/acme/acme.js @@ -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); } }