"service-worker-allowed" header removed by Shopify

Hi,
We have a product that helps the shopify based e-commerce websites to show chrome browser notifications. As mentioned here in this similar ticket: https://community.shopify.com/c/Shopify-APIs-SDKs/App-Proxy-removes-custom-headers/td-p/1000703
It looks like shopify is removing the “service-worker-allowed” header from the resource which is being served through app-proxy. This header must be present in response headers for the browser notifications to work as written in this documentation (https://w3c.github.io/ServiceWorker/#service-worker-script-response )as well.
Please suggest on how to tackle this.

Thanks

1 Like