Skip to content

Commit a403d59

Browse files
authored
Merge pull request #4642 from betatim/js-redirect
Use JavaScript to redirect users
2 parents a33f4c6 + 077322d commit a403d59

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

notebook/templates/browser-open.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
<meta charset="UTF-8">
77
<meta http-equiv="refresh" content="1;url={{ open_url }}" />
88
<title>Opening Jupyter Notebook</title>
9+
<script>
10+
setTimeout(function() {
11+
window.location.href = "{{ open_url }}";
12+
}, 1000);
13+
</script>
914
</head>
1015
<body>
1116

0 commit comments

Comments
 (0)