window.open(openurl);
当前系统是https,openurl地址是http,
提示:
DOMException: Blocked a frame with origin “https://***.com” from accessing a cross-origin frame.
解决方法:
let windowopen = window.open(openurl);
windowopen.postMessage(data, '*');
nginx配置第三方系统地址,隐藏对方ip
server {
listen 1501;
server_name localhost;
location / {
proxy_pass http://xxxx:28080;
}
}