mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-07-26 13:47:03 +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 "";
|
||||
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/';
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user