mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-03-21 18:04:39 -05:00
Switch tournament logoSrc to always absolute to fix social media preview
This commit is contained in:
parent
5196a2197e
commit
7eeebb4bce
|
|
@ -225,7 +225,7 @@ export async function findById(id: number) {
|
|||
...result,
|
||||
logoSrc: result.logoUrl
|
||||
? userSubmittedImage(result.logoUrl)
|
||||
: HACKY_resolvePicture(result),
|
||||
: `${process.env.BASE_URL}${HACKY_resolvePicture(result)}`,
|
||||
participatedUsers: result.participatedUsers.map((user) => user.userId),
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user