mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
Add sub filter for monaco editor
This commit is contained in:
parent
9b99ba81e5
commit
4fb188f1e3
@ -233,6 +233,7 @@ http {
|
|||||||
sub_filter '"/BASE_PATH/dist/' '"$http_x_ingress_path/dist/';
|
sub_filter '"/BASE_PATH/dist/' '"$http_x_ingress_path/dist/';
|
||||||
sub_filter '"/BASE_PATH/js/' '"$http_x_ingress_path/js/';
|
sub_filter '"/BASE_PATH/js/' '"$http_x_ingress_path/js/';
|
||||||
sub_filter '"/BASE_PATH/assets/' '"$http_x_ingress_path/assets/';
|
sub_filter '"/BASE_PATH/assets/' '"$http_x_ingress_path/assets/';
|
||||||
|
sub_filter '"/BASE_PATH/monacoeditorwork/' '"$http_x_ingress_path/monacoeditorwork/';
|
||||||
sub_filter 'return"/BASE_PATH/"' 'return window.baseUrl';
|
sub_filter 'return"/BASE_PATH/"' 'return window.baseUrl';
|
||||||
sub_filter '<body>' '<body><script>window.baseUrl="$http_x_ingress_path/";</script>';
|
sub_filter '<body>' '<body><script>window.baseUrl="$http_x_ingress_path/";</script>';
|
||||||
sub_filter_types text/css application/javascript;
|
sub_filter_types text/css application/javascript;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user