0

I published the progressive web application in local IIS and now i access this application in another network machine using IIS hosted machine IP and Alias Name like (xxx.xxx.x.xxx/aliasname). Also I can access the application but application can not react as progressive web application behavior and also serviceworker can not register!! So that Issue, What can i do?

  • I'm unsure if this is what you are asking for, you need to add webmanifest as a MIME type in IIS. https://stackoverflow.com/questions/49566446/how-can-i-have-iis-properly-serve-webmanifest-files-on-my-web-site – Luka Rakic Dec 20 '19 at 09:38
  • Are you talking about IIS Express? If yes: https://stackoverflow.com/questions/3313616/how-to-enable-external-request-in-iis-express – Falco Alexander Dec 20 '19 at 10:02
  • Hi, Thank you for help. I talking about that when i publish my app in my local machine IIS. Now my machine is connected with local network, so i can use the application link using with ip (192.192.1.192/AliasName) in other machine which is also under local network. Now in other machine, Service worker can not registered that's why progressive web application can not comes into picture. For sure, Progressive Web Apps required SSL certificate, but for local testing, how can i use Progressive Web application without using localhost( Here i replace localhost to machineip). – Parth Patel Dec 20 '19 at 10:36

1 Answers1

1

Service worker API will never work without https (secure) connection. Read here.

See if you can able to set up your local instance in https protocol as mentioned here.

Rajesh G
  • 639
  • 4
  • 13