Skip to content

Commit

Permalink
Use JavaScript to redirect users
Browse files Browse the repository at this point in the history
  • Loading branch information
betatim committed May 27, 2019
1 parent a33f4c6 commit 077322d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions notebook/templates/browser-open.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
<meta charset="UTF-8">
<meta http-equiv="refresh" content="1;url={{ open_url }}" />
<title>Opening Jupyter Notebook</title>
<script>
setTimeout(function() {
window.location.href = "{{ open_url }}";
}, 1000);
</script>
</head>
<body>

Expand Down

0 comments on commit 077322d

Please sign in to comment.