Skip to content

Commit e3b634c

Browse files
committed
Revert "fix(images-expiry): correctly remove image expiry from local store"
This reverts commit f9c81ea.
1 parent 2fb16c2 commit e3b634c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/modals/profile/UpdateAvatar.vue

+1-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ export default {
4949
v.errorMessage = null
5050
const params = {
5151
username: props.user.username,
52-
// if uploading locally, remove local root
53-
// server side uses relative links in expirty
54-
avatar: v.userCopy.avatar.replace(window.images_local_root, '')
52+
avatar: v.userCopy.avatar,
5553
}
5654
usersApi.update(props.user.id, params)
5755
.then(data => {

0 commit comments

Comments
 (0)