##// END OF EJS Templates
Backport PR #6061: make CORS configurable...
Backport PR #6061: make CORS configurable allows setting CORS headers. - allow_origin sets Access-Control-Allow-Origin directly - allow_origin_pat allows setting Access-Control-Allow-Origin via regular expression, since the header spec itself doesn’t support nontrivial rules. - allow_credentials sets Access-Control-Allow-Credentials: true ...

File last commit:

r14009:6f019b30
r17153:8449bcd6
Show More
__main__.py
3 lines | 102 B | text/x-python | PythonLexer
MinRK
add `python -m` entry points for everything
r14009 if __name__ == '__main__':
from IPython.terminal.console import app
app.launch_new_instance()