Fix avatar/banner proxy (#8346)
* Fix avatar/banner proxy Co-authored-by: mei23 <m@m544.net> * use getAvatarUrl * fix * join avatar and banner to improve performance * join * Update hybrid-timeline.ts * fix Co-authored-by: mei23 <m@m544.net> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
parent
d071d18dd7
commit
e314be5b59
34 changed files with 180 additions and 99 deletions
|
|
@ -76,6 +76,8 @@ router.get('/avatar/@:acct', async ctx => {
|
|||
usernameLower: username.toLowerCase(),
|
||||
host: host === config.host ? null : host,
|
||||
isSuspended: false,
|
||||
}, {
|
||||
relations: ['avatar'],
|
||||
});
|
||||
|
||||
if (user) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue