Refused to display 'url' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'

后端 未结 6 804
既然无缘
既然无缘 2020-12-08 00:31

Screenshot of t

6条回答
  •  心在旅途
    2020-12-08 00:44

    This happens because of your application does not allow to append iframe from origin other than your application domain.

    If your application have web.config then add the following tag in web.config

    
        
            
                
            
        
    
    

    This will allow application to append iframe from other origin also. You can also use the following value for X-Frame-Option

    X-FRAME-OPTIONS: ALLOW-FROM https://example.com/ 
    

提交回复
热议问题