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 {
|
||||
|
@@ -14,6 +14,8 @@
|
||||
</div>
|
||||
<div class="col-sm-6" data-spacename="userinterface">
|
||||
<div class="row g-3">
|
||||
<h3>A decentralized Identity</h3>
|
||||
<p>apXtrib allow you to create keys to identify yourself with a universal alias</p>
|
||||
<div class="col-md-6">
|
||||
<label for="inputalias" class="form-label">Your alias</label>
|
||||
<input type="text" class="form-control" id="inputalias" placeholder="A public alias that any one see">
|
||||
@@ -30,6 +32,7 @@
|
||||
<button type="button" id="generatekeys" onclick="app.createIdentity(document.getElementById('inputalias').value,document.getElementById('inputpassphrase').value)" class="btn btn-primary">Generate keys</button>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="gridCheck">
|
||||
<label class="form-check-label small" for="gridCheck">
|
||||
|
1
nationchains/www/adminapx/static/tpldata/conf_en.json
Normal file
1
nationchains/www/adminapx/static/tpldata/conf_en.json
Normal file
@@ -0,0 +1 @@
|
||||
{"nationId":"ants","townId":"usbfarm","tribeId":"devenv","comment":"Generate by apxtrib.js with minimum of information"}
|
Reference in New Issue
Block a user