forked from jupyterlab/jupyterlab
/
index.html
26 lines (24 loc) · 813 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!doctype html>
<html lang="en">
<head>
<title>Cell Demo</title>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML-full,Safe&delayStartupUntil=configured"></script>
</head>
<body>
<script id='jupyter-config-data' type="application/json">{
"baseUrl": "{{base_url}}",
"token": "{{token}}"
}</script>
<script src="example/bundle.js"></script>
<script type="text/javascript">
/* Remove token from URL. */
(function () {
var parsedUrl = new URL(window.location.href);
if (parsedUrl.searchParams.get('token')) {
parsedUrl.searchParams.delete('token');
window.history.replaceState({ }, '', parsedUrl.href);
}
})();
</script>
</body>
</html>