From 0595c19dea42fd38d0c54310fa6adce49e34ce30 Mon Sep 17 00:00:00 2001 From: Joop Kiefte Date: Tue, 15 Oct 2019 23:45:40 +0200 Subject: Make it work on ipfs (removing root references) --- app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app.js') diff --git a/app.js b/app.js index ed118c8..b05c781 100644 --- a/app.js +++ b/app.js @@ -13,9 +13,9 @@ function route (keys) { if (!name) { var identify = h('div', {id: 'identify', classList: 'message'}) scroller.appendChild(identify) - identify.appendChild(h('span', {innerHTML: marked("Hey [" + keys.publicKey.substring(0, 10) + "...](/#"+ keys.publicKey +")! Welcome to Bogbook. If you have any questions be sure to reach out to [@ev](/#@Q++V5BbvWIg8B+TqtC9ZKFhetruuw+nOgxEqfjlOZI0=).")})) + identify.appendChild(h('span', {innerHTML: marked("Hey [" + keys.publicKey.substring(0, 10) + "...](#"+ keys.publicKey +")! Welcome to Bogbook. If you have any questions be sure to reach out to [@ev](#@Q++V5BbvWIg8B+TqtC9ZKFhetruuw+nOgxEqfjlOZI0=).")})) - identify.appendChild(h('span', {innerHTML: marked("Your current public key doesn't have a name yet. Either import your existing id on the [key](/#key) page, or identify yourself using the box below. Identifying is optional, but you'll see this welcome message as long as you don't give yourself a name.")})) + identify.appendChild(h('span', {innerHTML: marked("Your current public key doesn't have a name yet. Either import your existing id on the [key](#key) page, or identify yourself using the box below. Identifying is optional, but you'll see this welcome message as long as you don't give yourself a name.")})) var input = h('input', {placeholder: 'Give yourself a name'}) @@ -41,7 +41,7 @@ function route (keys) { }, ['Identify']) ])) - identify.appendChild(h('span', {innerHTML: marked("Next, make sure to save your public/private keypair on the [key](/#key) page, so that you can continue to use the same identity. No one but you can access your private key, so only you can restore your ability to publish to this identity. If you lose your key, you lose your ability to publish to this identity forever.")})) + identify.appendChild(h('span', {innerHTML: marked("Next, make sure to save your public/private keypair on the [key](#key) page, so that you can continue to use the same identity. No one but you can access your private key, so only you can restore your ability to publish to this identity. If you lose your key, you lose your ability to publish to this identity forever.")})) identify.appendChild(h('span', {innerHTML: marked("Finally, be sure to check out the code on [SourceHut](http://git.sr.ht/~ev/bogbook)")})) -- cgit v1.2.3-70-g09d2