Skip to content

Commit

Permalink
Merge pull request jupyter#4642 from betatim/js-redirect
Browse files Browse the repository at this point in the history
Use JavaScript to redirect users
  • Loading branch information
minrk authored May 28, 2019
2 parents a33f4c6 + 077322d commit a403d59
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 a403d59

Please sign in to comment.