diff --git a/docker/main/rootfs/usr/local/nginx/conf/nginx.conf b/docker/main/rootfs/usr/local/nginx/conf/nginx.conf index 6c60019c7..c8cd7fd45 100644 --- a/docker/main/rootfs/usr/local/nginx/conf/nginx.conf +++ b/docker/main/rootfs/usr/local/nginx/conf/nginx.conf @@ -313,8 +313,8 @@ http { proxy_set_header Accept-Encoding ""; sub_filter_once off; sub_filter_types application/json; - sub_filter '"start_url": "/"' '"start_url" : "$http_x_ingress_path"'; - sub_filter '"src": "/' '"src": "$http_x_ingress_path/'; + sub_filter '"start_url": "/BASE_PATH/"' '"start_url" : "$http_x_ingress_path/"'; + sub_filter '"src": "/BASE_PATH/' '"src": "$http_x_ingress_path/'; } sub_filter 'href="/BASE_PATH/' 'href="$http_x_ingress_path/'; diff --git a/web/site.webmanifest b/web/site.webmanifest index 94e455ec8..7040ce5c9 100644 --- a/web/site.webmanifest +++ b/web/site.webmanifest @@ -1,28 +1,28 @@ { "name": "Frigate", "short_name": "Frigate", - "start_url": "/", + "start_url": "/BASE_PATH/", "icons": [ { - "src": "/images/android-chrome-512x512.png", + "src": "/BASE_PATH/images/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" }, { - "src": "/images/android-chrome-192x192.png", + "src": "/BASE_PATH/images/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" }, { - "src": "/images/maskable-icon.png", + "src": "/BASE_PATH/images/maskable-icon.png", "sizes": "180x180", "type": "image/png", "purpose": "maskable" }, { - "src": "/images/maskable-badge.png", + "src": "/BASE_PATH/images/maskable-badge.png", "sizes": "96x96", "type": "image/png", "purpose": "maskable"