实施Branch时收到以下错误
Cross-Origin Read Blocking (CORB) blocked cross-origin response
https://branch.io/ with MIME type text/html. See
https://www.chromestatus.com/feature/5629709824032768 for more details.
是否有解决方法?
答案 0 :(得分:0)
类似原因是由于违反内容安全策略所致。请尝试传递一个现时值以防止这种情况。
branch.init(YOUR_BRANCH_KEY, {'nonce': 'GENERATED_NONCE_VALUE' });