简体   繁体   English

在本地 IIS 中发布应用程序时如何运行 PWA?

[英]How can i run PWA when i publish application in Local IIS?

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).我在本地 IIS 中发布了渐进式 Web 应用程序,现在我使用 IIS 托管机器 IP 和别名(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!!我也可以访问该应用程序,但应用程序无法作为渐进式 Web 应用程序行为做出反应,而且 serviceworker 也无法注册!! So that Issue, What can i do?所以那个问题,我能做什么?

Service worker API will never work without https (secure) connection.没有 https(安全)连接,Service Worker API 永远不会工作。 Read here . 在这里阅读

See if you can able to set up your local instance in https protocol as mentioned here .看看您是否能够像这里提到的那样在 https 协议中设置您的本地实例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 关于在本地IIS中发布应用程序 - About publish an application in Local IIS 如何在本地iis上部署asp.net Web应用程序? - How can I deploy an asp.net web application on my local iis? 使用 Visual Studio 发布应用程序时如何自动执行 gulp 任务? - How can I automatically execute gulp task when I publish an application using Visual Studio? OWIN身份角色在本地工作,但是当我在远程IIS服务器上发布/运行相同的代码时似乎消失了 - OWIN identity roles work locally, but seem to disappear when I publish/run the same code on a remote IIS server 我如何将我的asp.net项目发布到我的本地iis? - how do i publish my asp.net project to my local iis? 我的 ASP.NET Web 应用程序在 IIS express 上正常运行,但在我发布它时却没有 - My ASP.NET Web application runs normally on IIS express but not when I publish it Windows会话断开连接后如何运行我的应用程序? - How can I run my application when windows session is disconnected? 如何使用.net核心Web应用程序发布XML文档? - How can I publish XML documentation with a .net core web application? 无法使用本地IIS服务器运行asp.net应用程序 - Can not run asp.net application using Local IIS Server 以编程方式创建新的IIS网站时,如何将其添加到现有的应用程序池中? - When programmatically creating a new IIS web site, how can I add it to an existing application pool?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM