Commit 73240d6 1 parent 1897fd4 commit 73240d6 Copy full SHA for 73240d6
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ pub fn route() -> Router {
156
156
)
157
157
. push (
158
158
Router :: new ( )
159
- . path ( "/image/hero/<type>/<uuid>/<token>.jpg " )
159
+ . path ( "/image/hero/<type>/<uuid>/<token>" )
160
160
// .path("/image/hero.jpg")
161
161
. get ( hero_image)
162
162
//.get(proxy_request),
Original file line number Diff line number Diff line change @@ -801,8 +801,8 @@ impl Transform for MediaStyleTransform {
801
801
. replace ( "plex://" , "" ) ;
802
802
803
803
//let cover_art = item.get_hero_art(plex_client).await;
804
- let cover_art = Some ( format ! ( "{} /image/hero/{}/{}.jpg " ,
805
- options. host. clone( ) . unwrap( ) ,
804
+ let cover_art = Some ( format ! ( "/image/hero/{}/{}" ,
805
+ // options.host.clone().unwrap(),
806
806
guid,
807
807
options. token. clone( ) . unwrap( )
808
808
) ) ;
You can’t perform that action at this time.
0 commit comments