更新时间:2023-02-15 18:30:19
我也遇到了同样的问题.似乎" chrome打包的应用"不允许添加"content_security_policy"并重新定义manifest.json
I was also running to the same issue. It seems "chrome packaged app" does not allow adding "content_security_policy" and re-defining the policies in manifest.json
尝试添加它并通过扩展管理器重新加载应用程序,您应该看到以下消息:
Try adding it and re-loading the app via extension manager and you should see the following message:
尝试安装此扩展程序时出现警告: "content_security_policy"仅适用于扩展名和旧版 打包的应用程序,这是一个打包的应用程序.
There were warnings when trying to install this extension: 'content_security_policy' is only allowed for extensions and legacy packaged apps, and this is a packaged app.