Skip to content

Commit de113fb

Browse files
committed
Handled trailing slash for GHE user url rewrite
1 parent cb2f0da commit de113fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nbviewer/providers/github/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ def uri_rewrites(rewrites=[]):
408408

409409
# user
410410
(r'^' + github_url
411-
+ r'([\w\-]+)$',
411+
+ r'([\w\-]+)/?$',
412412
u'/github/{0}/'),
413413
])
414414
return rewrites + github_rewrites

0 commit comments

Comments
 (0)