Skip to content

Commit

Permalink
increase specificity of downloadTriggerUrl filter
Browse files Browse the repository at this point in the history
previous version matched two spots. we just wanne match the assignment, not where it's used as parameter of useState()
  • Loading branch information
kraiz authored and mrueg committed Nov 30, 2024
1 parent f96ca9e commit 324060f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teddycloud/rootfs/etc/nginx/servers/ingress.conf
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ server {
sub_filter '"/img_unknown.png"' '"$http_x_ingress_path/img_unknown.png"';
sub_filter 'p.tonieInfo.picture' "[p.tonieInfo.picture.startsWith('http')?'':'$http_x_ingress_path', p.tonieInfo.picture].join('')";
sub_filter '""+p.audioUrl' '"$http_x_ingress_path"+p.audioUrl';
sub_filter 'p.downloadTriggerUrl' '"$http_x_ingress_path"+p.downloadTriggerUrl';
sub_filter 'p.downloadTriggerUrl;' '"$http_x_ingress_path"+p.downloadTriggerUrl;';
sub_filter_once off;

proxy_pass http://backend;
Expand Down

0 comments on commit 324060f

Please sign in to comment.