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