Skip to content

Commit

Permalink
Fix after Dynamic Playlist plugin Testing for css
Browse files Browse the repository at this point in the history
  • Loading branch information
pssc committed Jan 2, 2024
1 parent 79ad1e6 commit 990c5a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lms/rootfs-ingress/etc/nginx/servers/ingress.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ server {
sub_filter '"html/' '"%%ingress_entry%%/%%skin%%/html/';
sub_filter 'resolveImageUrl("/' 'resolveImageUrl("%%ingress_entry%%/';
sub_filter 'return a.startsWith("/")?a:"/"+a' 'return a.startsWith("/")?a:"%%ingress_entry%%/"+a';
sub_filter 'window.location.href = \'/' 'window.location.href = \'/%%ingress_entry%%/%%skin%%/';
sub_filter 'url(html' 'url(%%ingress_entry%%/%%skin%%/html';
}

location / {
Expand Down Expand Up @@ -84,6 +84,7 @@ server {
sub_filter 'coverart = \'/\' + coverart;' 'coverart = \'%%ingress_entry%%/\' + coverart;';
sub_filter 'url(/' 'url(%%ingress_entry%%/';
sub_filter 'window.location.href = \'/' 'window.location.href = \'/%%ingress_entry%%/';
sub_filter 'url(html' 'url(%%ingress_entry%%/html';
}
}

0 comments on commit 990c5a1

Please sign in to comment.