Skip to content

Commit

Permalink
fix(Post Media): add default base for URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Apr 15, 2023
1 parent bcaa4b0 commit 1faab8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/pages/posts/post/PostMedia.vue
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export default {
},
addExtraSlashToURL(url) {
const currentURL = new URL(url)
const currentURL = new URL(url, window.location.origin)
/* console.log({
original: currentURL.toString(),
Expand Down

0 comments on commit 1faab8e

Please sign in to comment.