##// END OF EJS Templates
make CORS configurable...
make CORS configurable allows setting CORS headers. - cors_origin sets Access-Control-Allow-Origin directly - cors_origin_pat allows setting Access-Control-Allow-Origin via regular expression, since the header spec itself doesn’t support complex access[1] - cors_credentials sets Access-Control-Allow-Credentials: true To allow CORS from everywhere: ipython notebook —NotebookApp.cors_origin='*'

File last commit:

r14009:6f019b30
r17106:600762a6
Show More
__main__.py
3 lines | 109 B | text/x-python | PythonLexer
if __name__ == '__main__':
from IPython.kernel.zmq import kernelapp as app
app.launch_new_instance()