This commit is contained in:
2023-04-28 13:21:02 +02:00
parent 53589f7d19
commit 743f893937
18 changed files with 520 additions and 92 deletions

View File

@@ -116,7 +116,7 @@ app.setupdata = () => {
const url=e.getAttribute(k);
let localname=url.split('/').slice(-1)[0];
if (url.includes('.mustache')) localname=localname.substring(0,localname.length-12);
if (url.includes('.html') || url.includes('.html') ) localname=localname.substring(0,localname.length-6);
if (url.includes('.html') || url.includes('.json') ) localname=localname.substring(0,localname.length-8);
if (!list[k]) list[k]={};
list[k][localname]=url;
}

View File

@@ -95,7 +95,7 @@ apx.checkdetachedSignature = async (
const verificationResult = await openpgp.verify({
msg, // Message object
signature,
verificationKeys: publicKey,
verificationKeys: publicKey
});
const { verified, keyID } = verificationResult.signatures[0];
try {