I would like to apply a component called “external content” to show a web page on my dashboard. I find it work well when the URL is a domain name like https://cn.bing.com/ , but it reports invalid URL when the URL likes ip:port. Is there any way for me to show a page with URL like ip:port ?
Hi !
The external component is using <iframe>
to render external content so using “ip:port” is ok.
The problem is that CORS (cross origin resource sharing) policies have changed over time (more restrictive now than they used to be, because of security risks), so accessing other url(ip:port) than of the origin, requires extra http-headers configuration (probably on both sides: origin/iframe).
Hope this helps!
Thanks,
Megan