Hey i had confugured jupyterhub_config.py
c.JupyterHub.tornado_settings = {'headers': {'Content-Security-Policy': "frame-ancestors * 'self' " ,'Access-Control-Allow-Origin': '*','Access-Control-Allow-Methods':'*','Access-Control-Allow-Headers':'*','Access-Control-Allow-Credentials':'true'}}
c.Spawner.args = [f'--NotebookApp.allow_origin=*']
c.NotebookApp.allow_origin = '*'
but still it show error while I run
$.ajax({
type : "GET",
url : "http://jupiter.***.com/",
beforeSend: function(xhr){xhr.setRequestHeader('Authorization', 'token ***');
},
success : function(result) {
},
error : function(result) {
}
});
Please help me with this. thanks in advance.