##// END OF EJS Templates
Use relative URL for redirect in NewTerminalHandler
Thomas Kluyver -
Show More
@@ -19,7 +19,7 b' class NewTerminalHandler(IPythonHandler):'
19 19 @web.authenticated
20 20 def get(self):
21 21 name, _ = self.application.terminal_manager.new_named_terminal()
22 self.redirect("/terminals/%s" % name, permanent=False)
22 self.redirect(name, permanent=False)
23 23
24 24 class TermSocket(terminado.TermSocket, IPythonHandler):
25 25 def get(self, *args, **kwargs):
General Comments 0
You need to be logged in to leave comments. Login now