From 2c35ef19f9bec86664509407c92e8400a7c6ef68 Mon Sep 17 00:00:00 2001 From: Matjaz Date: Wed, 26 Oct 2022 20:52:09 +0200 Subject: [PATCH] Debugging fingerprint ... --- routes/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routes/index.js b/routes/index.js index fb5a242..8a29a47 100644 --- a/routes/index.js +++ b/routes/index.js @@ -3,6 +3,8 @@ function index(request, response) { var adminBlock = ""; if(request.clientCert.fingerprint == '96:19:A6:91:57:AF:E2:D3:E0:80:FC:35:4E:BD:2A:46:C9:2D:CB:53') { adminBlock = '## Administration\r\n=> /admin/ Administration'; + } else { + adminBlock = '## Certificat Fingerprint\r\n'+request.clientCert.fingerprint; } response.send(`20 text/gemini\r\n \`\`\` Uplink:SI Logo