Skip to content

Commit

Permalink
Make the top-level handler slash invariant. Necessary for base-dir ac…
Browse files Browse the repository at this point in the history
…cess.
  • Loading branch information
pelson committed Oct 13, 2017
1 parent 77ac748 commit 8fd0592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbviewer/handlers.py
Expand Up @@ -86,7 +86,7 @@ def format_handlers(formats, handlers):

def init_handlers(formats, providers, base_url, localfiles):
pre_providers = [
('/', IndexHandler),
('/?', IndexHandler),
('/index.html', IndexHandler),
(r'/faq/?', FAQHandler),
(r'/create/?', CreateHandler),
Expand Down

0 comments on commit 8fd0592

Please sign in to comment.