From 06a44e4f05ccc6b4f6ed473a6e0e1db4c14a50d4 Mon Sep 17 00:00:00 2001 From: hazycora Date: Thu, 21 Dec 2023 12:12:51 -0600 Subject: [PATCH] attempt fix of bios --- server.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/server.js b/server.js index b539658..51fb363 100644 --- a/server.js +++ b/server.js @@ -92,10 +92,7 @@ app.get('/:user', async function (req, res) { await reposResp.json() ]) user.repo_count = repos.length - user.description = user.description - ?.split('---\r\n') - .slice(0, -1) - .join('---\r\n') + user.description = user.description?.split('---\r\n')[0] const html = await eta.renderAsync('user', { user, debug