Skip to content

Commit

Permalink
Add more filters
Browse files Browse the repository at this point in the history
  • Loading branch information
mrueg committed Oct 9, 2024
1 parent d1f4987 commit cb96d39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion teddycloud/rootfs/etc/nginx/templates/ingress.gtpl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ server {
sub_filter 'fetch("/api/' 'fetch("$http_x_ingress_path/api/';
sub_filter "fetch(`/api/" "fetch(`$http_x_ingress_path/api/";
sub_filter '.concat("/web",' '.concat("$http_x_ingress_path/web",';
sub_filter 'REACT_APP_TEDDYCLOUD_WEB_BASE:"/web"' 'REACT_APP_TEDDYCLOUD_WEB_BASE:"$http_x_ingress_path/web"';
sub_filter 'apiGetTeddyCloudApiRaw("/api/' 'apiGetTeddyCloudApiRaw("$http_x_ingress_path/api/';
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 'p="/web/"' 'p="$http_x_ingress_path/web/"';
sub_filter 'basename:"/web"' 'basename:"$http_x_ingress_path/web"';
Expand Down

0 comments on commit cb96d39

Please sign in to comment.