We are creating a extension which need to create a service worker and the service worker script file need to be hosted/present in same domain of seller page. How to achieve this?
You can achieve this using Proxy url and injecting the service worker script.
Script Injection : Script Injection | Fynd Partners Help Center
You can explore more about the Proxy url : Proxy URLs | Fynd Partners Help Center
To create proxy url : Create proxy URL for the external URL | Fynd Partners Help Center