cleanup
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user