hi the manifest file has to be loaded from absolute url and it will not work behind a redirect the browsers and also the android app devices fetches and it fails when there is a redirect behind it.
well the manifest.json file is present in your root of your site you can edit it , upload the images to the path you want and edit the manifest.json file manually for the icons url .
also note that regenrating service worker form wp-admin -> vibebp -> setting will overwrite your changes and you have to do it again . so keep backup of manifest.json file.
Hello!
How to set up own paths to images in manifest?
I am using WP Hide plugin which change wp-content path to the another to protect website from attackers if something vulnerable.
Everything is working well except manifest file. It uses /wp-content only.
I need to rewrite path manually for images in manifest.
But if this file will not be regenerated automatically sometimes, it is okay and not a problem.
hi the manifest file has to be loaded from absolute url and it will not work behind a redirect the browsers and also the android app devices fetches and it fails when there is a redirect behind it.
No-no . I do not ask about redirect. I want to keep custom location of images like /public_html/*.png
well the manifest.json file is present in your root of your site you can edit it , upload the images to the path you want and edit the manifest.json file manually for the icons url .
also note that regenrating service worker form wp-admin -> vibebp -> setting will overwrite your changes and you have to do it again . so keep backup of manifest.json file.