Added license link

This commit is contained in:
Kevin Froman 2020-10-07 22:46:45 +00:00
parent 0219c3bc77
commit bdbee65018
3 changed files with 8 additions and 2 deletions

View File

@ -138,7 +138,13 @@ async function findMessages(){
// Size is size of data (not metadata) and block hash
document.getElementById('memUsage').innerText = getReadableFileSizeString(current + ((basicTextEncoder.encode(data)).length + block.length))
}
let metadata = JSON.parse(d.split("\n")[0])
try{
let metadata = JSON.parse(d.split("\n")[0])
}
catch(e){
console.debug(e)
return
}
let data = d.substring(d.indexOf('\n') + 1);
try{

View File

@ -31,7 +31,7 @@
<p class="subtitle">
anonymous decentralized message board 🌐
<img src="vanilla.png" alt="this website uses vanilla JS" aria-hidden="true" loading="lazy" class="is-pulled-right">
<img src="copyleft.png" alt="GNU" aria-hidden="true" loading="lazy" class="is-pulled-right">
<a href="LICENSE.txt"><img src="copyleft.png" alt="GNU" loading="lazy" class="is-pulled-right"></a>
</p>
<noscript><p class="has-text-warning">
JavaScript is required for this app. The server has no knowledge of posts, so content must be served by P2P nodes.