Skip to content

Commit

Permalink
don't rely on minified variable name for web assets
Browse files Browse the repository at this point in the history
my teddycloud (0.6.2) build used a variable named `bK`
  • Loading branch information
kraiz authored and mrueg committed Nov 30, 2024
1 parent 324060f commit 8796915
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 @@ -35,7 +35,7 @@ server {
sub_filter 'apiPostTeddyCloudFormDataRaw(`/api/' 'apiPostTeddyCloudFormDataRaw(`$http_x_ingress_path/api/';
sub_filter 'apiPostTeddyCloudRaw(`/content/' 'apiPostTeddyCloudRaw(`$http_x_ingress_path/content/';
sub_filter 'loadPath:"/web/' 'loadPath:"$http_x_ingress_path/web/';
sub_filter 'Lq="/web/assets/' 'Lq="$http_x_ingress_path/web/assets/';
sub_filter '="/web/assets/' '="$http_x_ingress_path/web/assets/';
sub_filter 'REACT_APP_TEDDYCLOUD_WEB_BASE:"/web"' 'REACT_APP_TEDDYCLOUD_WEB_BASE:"$http_x_ingress_path/web"';
sub_filter 'PUBLIC_URL:"/web"' 'PUBLIC_URL:"$http_x_ingress_path/web"';
sub_filter 'EventSource("/api/sse")' 'EventSource("$http_x_ingress_path/api/sse")';
Expand Down

0 comments on commit 8796915

Please sign in to comment.