Skip to content

Commit

Permalink
Fix for double / after rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
pssc committed Jan 2, 2024
1 parent 990c5a1 commit e705022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/rootfs-ingress/etc/nginx/servers/ingress.conf
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ server {
sub_filter 'return a.startsWith("/")?a:"/"+a' 'return a.startsWith("/")?a:"%%ingress_entry%%/"+a';
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 'window.location.href = \'/' 'window.location.href = \'%%ingress_entry%%/';
sub_filter 'url(html' 'url(%%ingress_entry%%/html';
}
}
Expand Down

0 comments on commit e705022

Please sign in to comment.