Skip to content

Commit

Permalink
refix covers.
Browse files Browse the repository at this point in the history
fixing WINVR/ZexyVR broke POVR network covers
  • Loading branch information
theRealKLH committed Feb 12, 2024
1 parent acbccaf commit 3ddd735
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions ui/src/views/scenes/SceneCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,19 +172,8 @@ export default {
},
},
methods: {
getImageURL (u, size) {
try {
if (u.startsWith('http')) {
if (strpos(u, "%") !== false) {
return '/img/' + size + '/' + decodeURI(u)
}
return '/img/' + size + '/' + encodeURI(u)
} else {
return u
}
} catch {
return u
}
getImageURL (u) {
return '/img/700x/' + u
},
showDetails (scene) {
// reRead is required when the SceneCard is clicked from the ActorDetails
Expand Down

0 comments on commit 3ddd735

Please sign in to comment.