mirror of
https://github.com/lildude/ha-addon-teslamate.git
synced 2026-10-13 13:10:30 -04:00
Fixing sub_filters_types for proper js rewrite (#60)
This commit is contained in:
@@ -23,7 +23,7 @@ server {
|
||||
proxy_set_header Accept-Encoding "";
|
||||
|
||||
# Enable sub-filtering
|
||||
sub_filter_types text/css text/xml application/javascript;
|
||||
sub_filter_types text/css text/xml application/javascript text/javascript;
|
||||
sub_filter_once off;
|
||||
|
||||
# Home URLs in the HTML
|
||||
@@ -36,4 +36,4 @@ server {
|
||||
sub_filter '"/live"' '"$http_x_ingress_path/live"';
|
||||
sub_filter '"/js/"' '"$http_x_ingress_path/js/"';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user