我正在使用iframe在其上顯示日曆。但我一直得到以下;拒絕顯示在框架中
拒絕,因爲 祖先違反了以下內容安全策略指令框顯示 'https://cal.mixmax.com/user1': 「框架祖先 '自我' https://mail.google.com https://inbox.google.com https://開頭.force.com的https:// .mixmax.com「。
我試圖讓內容安全策略的元作爲以下但沒有運氣。
<meta http-equiv="Content-Security-Policy"
content="frame-ancestors 'self'
https://mail.google.com
https://inbox.google.com
https://*.force.com
https://*.mixmax.com">
任何想法如何克服它?