From: Paul Donald Date: Sat, 7 Jun 2025 14:05:56 +0000 (+0200) Subject: luci-mod-system: Add repo key management X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=cf1e61f10d31bedc4cdc9f70872bb8da383f6e62;p=project%2Fluci.git luci-mod-system: Add repo key management follow-up fix to acdffc3d1dd8a4a427a2c81d046eb38080127da4 Signed-off-by: Paul Donald --- diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/repokeys.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/repokeys.js index b502677bfd..ced175044a 100644 --- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/repokeys.js +++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/repokeys.js @@ -41,7 +41,7 @@ function determineKeyEnv() { } function listKeyFiles() { - return fs.list(dir).then(entries => + return fs.list(KEYDIR).then(entries => Promise.all(entries.map(entry => fs.read(KEYDIR + entry.name).then(content => ({ filename: entry.name,