0
Firebaseでホストされているページにiframeを使用する必要がありますが、そのフレームにはX-Frame-Optionsエラーが表示されます.iframeの1つはpicasaでホストされているギャラリー用ですお問い合わせフォームのためのanohter ifrmae(私はfirebaseを介して送信した電子メールをcouldntのため:()firebaseはX-Frame-Optionsでiframeエラーを受け取ります
ここでは、エラー
Refused to display 'https://get.google.com/albumarchive/pwa/11111/album/1111?source=pwa#slideshow/1111' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
jquery.min.js:2 Uncaught DOMException: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "https://demodomain.com" from accessing a cross-origin frame.
である私はfirebase.jsonでこれをしなかったが、didntのは、あなたが持っている
"headers": [
{
"source": "**/*",
"headers": [
{"key": "X-Content-Type-Options", "value": "nosniff"},
{"key": "X-Frame-Options", "value": "ALLOW"},
{"key": "X-UA-Compatible", "value": "ie=edge"},
{"key": "X-XSS-Protection", "value": "1; mode=block"}
]
}
]
あなたは、このための任意の解決策を見つけますか? – Goyllo