- From: Jake Archibald <notifications@github.com>
- Date: Mon, 23 Jan 2017 01:14:09 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 23 January 2017 09:14:43 UTC
I've closed this issue as it isn't related to the service worker spec, but I'll continue to provide support. > How can I set service-worker-allowed header on my sw.js file response? This depends on which backend you're using. With apache/nginx, you use config files to add headers to particular paths. With express, you can set headers per response using `res.set(…)`. If you're using a static host such as S3, you need to set the headers at upload time. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/1061#issuecomment-274434885
Received on Monday, 23 January 2017 09:14:43 UTC