##// END OF EJS Templates
fix: display secure url with proper protocol
Satrajit Ghosh -
Show More
@@ -263,7 +263,12 b' class IPythonNotebookApp(BaseIPythonApplication):'
263
263
264 def start(self):
264 def start(self):
265 ip = self.ip if self.ip else '[all ip addresses on your system]'
265 ip = self.ip if self.ip else '[all ip addresses on your system]'
266 self.log.info("The IPython Notebook is running at: http://%s:%i" % (ip, self.port))
266 proto = 'http'
267 if self.certfile:
268 proto = 'https'
269 self.log.info("The IPython Notebook is running at: %s://%s:%i" % (proto,
270 ip,
271 self.port))
267 ioloop.IOLoop.instance().start()
272 ioloop.IOLoop.instance().start()
268
273
269 #-----------------------------------------------------------------------------
274 #-----------------------------------------------------------------------------
General Comments 0
You need to be logged in to leave comments. Login now