I'm able to get Partytown running on my GatsbyJS project in dev! All the proxytown requests are appearing in my network tab.
However, when I try to deploy my project to its live URL, I noticed Partytown's service worker appears to try to install directly to the domain root and fails. In our setup, we do not control what files are added to our domain root, we only control the /projects path of our domain, so ideally there could be some option passed into the Partytown config that would set the scope that the service worker should target.
Forgive me if that's already an option that I'm not seeing.
I'm able to get Partytown running on my GatsbyJS project in dev! All the proxytown requests are appearing in my network tab.
However, when I try to deploy my project to its live URL, I noticed Partytown's service worker appears to try to install directly to the domain root and fails. In our setup, we do not control what files are added to our domain root, we only control the
/projects
path of our domain, so ideally there could be some option passed into the Partytown config that would set the scope that the service worker should target.Forgive me if that's already an option that I'm not seeing.