diff --git a/src/entities/User.ts b/src/entities/User.ts index 77b3972..0c84738 100644 --- a/src/entities/User.ts +++ b/src/entities/User.ts @@ -14,8 +14,8 @@ export enum AccountImageVisibilityLevel { EVERYONE = "everyone" } -const defaultAccountImage = "0Reverse.png"; -const errorAccountImage = "0Red.png"; +const defaultAccountImage = "avatars/0Reverse.png"; +const errorAccountImage = "avatars/0Red.png"; export enum UserPageStatus { @@ -141,7 +141,7 @@ export class User implements UserBuilder { } private static pathForAccountImageFile(file : string, sysPath = false) : string { - return pathUserData("avatars/" + file, sysPath); + return pathUserData(file, sysPath); }