diff --git a/server.js b/server.js index 9622d61..ab8508a 100644 --- a/server.js +++ b/server.js @@ -901,7 +901,7 @@ const server = http.createServer(async (req, res) => { // GET only shows a button: link-preview fetchers and in-app browsers prefetch links, and a prefetch must not spend the token if (req.method === 'GET') { res.writeHead(200, { 'Content-Type': 'text/html; charset=utf-8', 'Cache-Control': 'no-store', 'X-Robots-Tag': 'noindex' }); - return res.end('Sign in to LinkSpin
LINKSPIN TEST APP

Sign in as

' + esc(t.email) + '

One use. Good for 24 hours from when it was made.

'); + return res.end('Sign in to LinkSpin
LINKSPIN TEST APP

Sign in as

' + String(t.email).replace(/&/g, '&').replace(/

One use. Good for 24 hours from when it was made.

'); } inviteTokens.delete(wm[1]); const acct = await accounts.byEmail(t.email); let memberId = 0; if (acct && acct.address) { try { memberId = await chain.memberIdByAccount(acct.address); } catch (e) {} }