Skip to content

Commit

Permalink
feat: don't send a referrer header when viewing images
Browse files Browse the repository at this point in the history
This cannot be done for videos as there is no attribute for that
  • Loading branch information
AlejandroAkbal committed Aug 20, 2020
1 parent 417fee2 commit 59087f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/pages/posts/content/PostMedia.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
:height="mediaResolutionChooser().height"
:width="mediaResolutionChooser().width"
@load="mediaLoaded = true"
referrerpolicy="no-referrer"
@error="retryToLoadMedia($event)"
/>

Expand Down

0 comments on commit 59087f9

Please sign in to comment.