Okay
  Public Ticket #3619419
app - regenerate workers
Closed

Comments

  •  1
    ClubLana-Antiage website started the conversation

    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.

  • [deleted] replied

    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.

  •  1
    ClubLana-Antiage website replied

    No-no . I do not ask about redirect. I want to keep custom location of images like /public_html/*.png


  • [deleted] replied

    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.