-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow start_url
within the site webmanifest be set via configuration or some other means
#16256
Comments
@Lhachtoo Would be nice if you could share how you can modify manually the site.webmanifest file? Hopefully somebody knows how to implement your feature request, so we have a decent solution that allows us to upgrade easily to new Frigate versions (without manually changing code files). Thanks already!! |
@bartbutenaers I use the provided stable Docker container for Frigate. I simply found the local copy of the webmanifest file and edited it. $ docker exec -t frigate ls /opt/frigate/web/assets/ | grep -o "site.*webmanifest"
site-YVb_R6Qj.webmanifest
$ vim `locate site-YVb_R6Qj.webmanifest` # which resolved to somewhere in /var/lib/docker/..... There's probably a proper way to do this, such as mapping a custom webmanifest file in Also, be sure to clear the cache for your site from your browsers after making the change. |
@Lhachtoo I need to run Frigate at base-path Since I want to limit the number of files that I need to change manually, I tried to find a way to update the webmanifest file (dynamically as soon as it is being fetched) also via the Nginx proxy file. This seems to be working:
Here is the position inside my nginx.conf file where I have added it: Hopefully it can be of any help to other users... P.S. I have changed the Nginx conf file using these commands:
|
I want to be able to install Frigate as a PWA or create a bookmark on Android+iOS when Frigate is hosted behind a proxied URL path (
https://server.com/frigate
). I successfully experimented with modifying site.webmanifest 'sstart_url
and now have the PWA pointing to the correct URL.I would like
start_url
to be set via configuration or some other means (such as theX-Ingress-Path
header)An alternative is manually modifying the manifest file to include the proxied path (e.g.
site_url = "/frigate/"
)See some previous discussions: #16238 and #13603
The text was updated successfully, but these errors were encountered: