我正在尝试按照 shopify_app gem 的指南安装我的 rails 应用程序。我将它安装到我在 shopify 上的开发商店,然后在尝试访问该应用程序时出现此屏幕。
编辑:我在控制台中得到这个:
Refused to frame 'https://localhost:3000/' because it violates the following Content Security Policy directive: "child-src 'self' https://* shopify-pos://*". Note that 'frame-src' was not explicitly set, so 'child-src' is used as a fallback.
请帮我。不知道发生了什么。
编辑:似乎在我的shopify应用程序上将iFrame从http加载到https时出现问题,因为当我将应用程序部署到heroku并以这种方式执行应用程序时......
我怎样才能做到这一点,以便我可以使用 localhost 作为开发人员,直到我准备好启动?