luci-mod-system: Add repo key management
authorPaul Donald <[email protected]>
Sat, 7 Jun 2025 14:05:56 +0000 (16:05 +0200)
committerPaul Donald <[email protected]>
Sat, 7 Jun 2025 14:05:56 +0000 (16:05 +0200)
follow-up fix to acdffc3d1dd8a4a427a2c81d046eb38080127da4

Signed-off-by: Paul Donald <[email protected]>
modules/luci-mod-system/htdocs/luci-static/resources/view/system/repokeys.js

index b502677bfdf286647abed67074b9f78db8d2e47e..ced175044a04a1f1181546fdfc7a295a9ef42b4e 100644 (file)
@@ -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,