Skip to content

Commit

Permalink
better skin matching
Browse files Browse the repository at this point in the history
  • Loading branch information
pssc committed Jan 2, 2024
1 parent e705022 commit eeecf7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lms/rootfs-ingress/etc/nginx/servers/ingress.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ 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 'url(/' 'url(%%ingress_entry%%/%%skin%%/';
sub_filter 'window.location.href = \'/' 'window.location.href = \'%%ingress_entry%%/%%skin%%/';
sub_filter 'url(html' 'url(%%ingress_entry%%/%%skin%%/html';
}

Expand Down

0 comments on commit eeecf7b

Please sign in to comment.