mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-07-30 13:48:07 +02:00
Update webmanifest to use /BASE_PATH/ (#17310)
This commit is contained in:
parent
644faaf65b
commit
e36fe79782
@ -313,8 +313,8 @@ http {
|
|||||||
proxy_set_header Accept-Encoding "";
|
proxy_set_header Accept-Encoding "";
|
||||||
sub_filter_once off;
|
sub_filter_once off;
|
||||||
sub_filter_types application/json;
|
sub_filter_types application/json;
|
||||||
sub_filter '"start_url": "/"' '"start_url" : "$http_x_ingress_path"';
|
sub_filter '"start_url": "/BASE_PATH/"' '"start_url" : "$http_x_ingress_path/"';
|
||||||
sub_filter '"src": "/' '"src": "$http_x_ingress_path/';
|
sub_filter '"src": "/BASE_PATH/' '"src": "$http_x_ingress_path/';
|
||||||
}
|
}
|
||||||
|
|
||||||
sub_filter 'href="/BASE_PATH/' 'href="$http_x_ingress_path/';
|
sub_filter 'href="/BASE_PATH/' 'href="$http_x_ingress_path/';
|
||||||
|
@ -1,28 +1,28 @@
|
|||||||
{
|
{
|
||||||
"name": "Frigate",
|
"name": "Frigate",
|
||||||
"short_name": "Frigate",
|
"short_name": "Frigate",
|
||||||
"start_url": "/",
|
"start_url": "/BASE_PATH/",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "/images/android-chrome-512x512.png",
|
"src": "/BASE_PATH/images/android-chrome-512x512.png",
|
||||||
"sizes": "512x512",
|
"sizes": "512x512",
|
||||||
"type": "image/png",
|
"type": "image/png",
|
||||||
"purpose": "any"
|
"purpose": "any"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "/images/android-chrome-192x192.png",
|
"src": "/BASE_PATH/images/android-chrome-192x192.png",
|
||||||
"sizes": "192x192",
|
"sizes": "192x192",
|
||||||
"type": "image/png",
|
"type": "image/png",
|
||||||
"purpose": "any"
|
"purpose": "any"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "/images/maskable-icon.png",
|
"src": "/BASE_PATH/images/maskable-icon.png",
|
||||||
"sizes": "180x180",
|
"sizes": "180x180",
|
||||||
"type": "image/png",
|
"type": "image/png",
|
||||||
"purpose": "maskable"
|
"purpose": "maskable"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "/images/maskable-badge.png",
|
"src": "/BASE_PATH/images/maskable-badge.png",
|
||||||
"sizes": "96x96",
|
"sizes": "96x96",
|
||||||
"type": "image/png",
|
"type": "image/png",
|
||||||
"purpose": "maskable"
|
"purpose": "maskable"
|
||||||
|
Loading…
Reference in New Issue
Block a user