Hello,
I want to use Jupyter Notebook inside the Terminal.com IDE but looks like I'm not allowed to show the Notebook interface inside an iframe. Could you please tell me if that is possible somehow?
This is what I get in the browser console:
Refused to display 'https://qmaxquique121-8080.terminal.com/tree' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'"
Thank you!
This can be done by adding something like this in the settings file:
c.NotebookApp.tornado_settings = { 'headers': { 'Content-Security-Policy': "frame-ancestors 'self' https://*.terminal.com" } }
Most helpful comment
This can be done by adding something like this in the settings file: