Iam working on site which is running on http://local.mydomain.com (virtual host)
And it gives me false
when i check 'serviceWorker' in navigator
So i cant test my service worker locally.
Also i have tried to put the url in to chrome://flags/#unsafely-treat-insecure-origin-as-secure but it didnt solve the problem.
Is there any workaround to fix this?
false
when i tried toconsole.log('serviceWorker' in navigator);
in the console,if im onhttps
it gives metrue
if notfalse
even if i put the url to thechrome://flags/#unsafely-treat-insecure-origin-as-secure