##// END OF EJS Templates
serve local files as `files/foo`
MinRK -
Show More
@@ -105,7 +105,7 b' class NotebookWebApplication(web.Application):'
105 (r"/notebooks", NotebookRootHandler),
105 (r"/notebooks", NotebookRootHandler),
106 (r"/notebooks/%s" % _notebook_id_regex, NotebookHandler),
106 (r"/notebooks/%s" % _notebook_id_regex, NotebookHandler),
107 (r"/rstservice/render", RSTHandler),
107 (r"/rstservice/render", RSTHandler),
108 (r"/local/(.*)", AuthenticatedFileHandler, {'path' : notebook_manager.notebook_dir}),
108 (r"/files/(.*)", AuthenticatedFileHandler, {'path' : notebook_manager.notebook_dir}),
109 ]
109 ]
110 settings = dict(
110 settings = dict(
111 template_path=os.path.join(os.path.dirname(__file__), "templates"),
111 template_path=os.path.join(os.path.dirname(__file__), "templates"),
General Comments 0
You need to be logged in to leave comments. Login now