diff --git a/client/js/models/post.js b/client/js/models/post.js index be0230c7..aea8c4cc 100644 --- a/client/js/models/post.js +++ b/client/js/models/post.js @@ -276,7 +276,7 @@ class Post extends events.EventTarget { _user: response.user, _safety: response.safety, _contentUrl: response.contentUrl, - _fullContentUrl: new URL(response.contentUrl, window.location.href).href, + _fullContentUrl: new URL(response.contentUrl, document.getElementsByTagName('base')[0].href).href, _thumbnailUrl: response.thumbnailUrl, _canvasWidth: response.canvasWidth, _canvasHeight: response.canvasHeight,