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()
|
await reposResp.json()
|
||||||
])
|
])
|
||||||
user.repo_count = repos.length
|
user.repo_count = repos.length
|
||||||
user.description = user.description
|
user.description = user.description?.split('---\r\n')[0]
|
||||||
?.split('---\r\n')
|
|
||||||
.slice(0, -1)
|
|
||||||
.join('---\r\n')
|
|
||||||
const html = await eta.renderAsync('user', {
|
const html = await eta.renderAsync('user', {
|
||||||
user,
|
user,
|
||||||
debug
|
debug
|
||||||
|
|
Loading…
Reference in a new issue