jupyter notebook displaying html in iframe causes CORS issue
86 views
Skip to first unread message
Gabriel Bassett
unread,
Aug 31, 2021, 1:28:30 PM8/31/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Project Jupyter
Hi,
I am rendering a rmarkdown file to html to view in jupyter notebook. The notebook contains a script to kick off additional analysis in an airflow instance using a JS call to fetch(), however the script is blocked by CORS. I _think_ I've narrowed it down to jupyter wrapping the html file in an iframe. How would I go about changing the iframe settings so it has the same origin as the parent page so that the correct origin is picked up by the fetch() call in the script?