attempt fix of bios
This commit is contained in:
parent
fe257ddb05
commit
06a44e4f05
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue