index.html 1.7 KB

12345678910111213141516171819202122232425
  1. <!doctype html><html lang="en"><head><meta charset="utf-8"><title>JupyterLab</title><meta name="viewport" content="width=device-width,initial-scale=1">{# Copy so we do not modify the page_config with updates. #} {% set page_config_full = page_config.copy() %} {# Set a dummy variable - we just want the side effect of the update. #} {% set _ = page_config_full.update(baseUrl=base_url, wsUrl=ws_url) %}<script id="jupyter-config-data" type="application/json">{{ page_config_full | tojson }}</script>{% block favicon %}<link rel="icon" type="image/x-icon" href="{{ base_url | escape }}static/favicons/favicon.ico" class="idle favicon"><link rel="" type="image/x-icon" href="{{ base_url | escape }}static/favicons/favicon-busy-1.ico" class="busy favicon">{% endblock %} {% if custom_css %}<link rel="stylesheet" href="{{ base_url | escape }}custom/custom.css">{% endif %}<script defer="defer" src="{{page_config.fullStaticUrl}}/main.60c74ae570d773ed6e71.js?v=60c74ae570d773ed6e71"></script></head><body class="jp-ThemedContainer"><script>/* Remove token from URL. */
  2. (function () {
  3. var location = window.location;
  4. var search = location.search;
  5. // If there is no query string, bail.
  6. if (search.length <= 1) {
  7. return;
  8. }
  9. // Rebuild the query string without the `token`.
  10. var query = '?' + search.slice(1).split('&')
  11. .filter(function (param) { return param.split('=')[0] !== 'token'; })
  12. .join('&');
  13. // Rebuild the URL with the new query string.
  14. var url = location.origin + location.pathname +
  15. (query !== '?' ? query : '') + location.hash;
  16. if (url === location.href) {
  17. return;
  18. }
  19. window.history.replaceState({ }, '', url);
  20. })();</script></body></html>