diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-12 11:59:28 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-12 13:58:03 +0100 |
commit | b682782093a22a729eea8862476ff1c8aac4ef0c (patch) | |
tree | 40ab06be62df07d43ff7799011e4e3427b348eec /client/src/app/shared/account/account.model.ts | |
parent | 7bfd1b1edb7ea4ea6516b6a74c4e9af938d0bdc6 (diff) | |
download | PeerTube-b682782093a22a729eea8862476ff1c8aac4ef0c.tar.gz PeerTube-b682782093a22a729eea8862476ff1c8aac4ef0c.tar.zst PeerTube-b682782093a22a729eea8862476ff1c8aac4ef0c.zip |
Upgrade to angular 5
Diffstat (limited to 'client/src/app/shared/account/account.model.ts')
-rw-r--r-- | client/src/app/shared/account/account.model.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/account/account.model.ts b/client/src/app/shared/account/account.model.ts index 9d1fd3e1d..3a29ec979 100644 --- a/client/src/app/shared/account/account.model.ts +++ b/client/src/app/shared/account/account.model.ts | |||
@@ -16,6 +16,6 @@ export class Account implements ServerAccount { | |||
16 | static GET_ACCOUNT_AVATAR_PATH (account: Account) { | 16 | static GET_ACCOUNT_AVATAR_PATH (account: Account) { |
17 | if (account && account.avatar) return account.avatar.path | 17 | if (account && account.avatar) return account.avatar.path |
18 | 18 | ||
19 | return environment.apiUrl + '/client/assets/images/default-avatar.png' | 19 | return '/client/assets/images/default-avatar.png' |
20 | } | 20 | } |
21 | } | 21 | } |