##// END OF EJS Templates
use full URL when using alternate URL prefix
Andrew Straw -
Show More
@@ -410,13 +410,14 class NotebookApp(BaseIPythonApplication):
410 410 ip = self.ip if self.ip else '[all ip addresses on your system]'
411 411 proto = 'https' if self.certfile else 'http'
412 412 info = self.log.info
413 info("The IPython Notebook is running at: %s://%s:%i" %
414 (proto, ip, self.port) )
413 info("The IPython Notebook is running at: %s://%s:%i%s" %
414 (proto, ip, self.port,self.base_project_url) )
415 415 info("Use Control-C to stop this server and shut down all kernels.")
416 416
417 417 if self.open_browser:
418 418 ip = self.ip or '127.0.0.1'
419 b = lambda : webbrowser.open("%s://%s:%i" % (proto, ip, self.port),
419 b = lambda : webbrowser.open("%s://%s:%i%s" % (proto, ip, self.port,
420 self.base_project_url),
420 421 new=2)
421 422 threading.Thread(target=b).start()
422 423 try:
General Comments 0
You need to be logged in to leave comments. Login now