mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix local avatar retrival
This commit is contained in:
parent
2ecda09ee4
commit
6787400056
@ -218,11 +218,10 @@ namespace Kyoo.Core.Controllers
|
||||
{
|
||||
try
|
||||
{
|
||||
await using FileStream img = File.Open(
|
||||
return File.Open(
|
||||
$"/metadata/user/{userId}.webp",
|
||||
FileMode.Open
|
||||
);
|
||||
return img;
|
||||
}
|
||||
catch (FileNotFoundException) { }
|
||||
catch (DirectoryNotFoundException) { }
|
||||
|
@ -69,6 +69,7 @@ export const Avatar = forwardRef<
|
||||
[
|
||||
{
|
||||
borderRadius: 999999,
|
||||
overflow: "hidden",
|
||||
height: size,
|
||||
width: size,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user