##// 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:

r11717:00cf7e3c
r17106:600762a6
Show More
layout.html
23 lines | 667 B | text/html | HtmlLexer
{% extends "!layout.html" %}
{% block rootrellink %}
<li><a href="http://ipython.org">home</a>|&nbsp;</li>
<li><a href="{{ pathto('search') }}">search</a>|&nbsp;</li>
<li><a href="{{ pathto('index') }}">documentation </a> &raquo;</li>
{% endblock %}
{% block relbar1 %}
<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px">
<a href="http://ipython.org/"><img src="{{
pathto("_static/logo.png", 1) }}" border="0" alt="IPython Documentation"/></a>
</div>
{{ super() }}
{% endblock %}
{# put the sidebar before the body #}
{% block sidebar1 %}{{ sidebar() }}{% endblock %}
{% block sidebar2 %}{% endblock %}