Skip to content

Commit 735ee98

Browse files
authored
Merge pull request #24 from epochtalk/images-expiry
Revert "fix(images-expiry): correctly remove image expiry from local …
2 parents be2a008 + e3b634c commit 735ee98

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)