##// END OF EJS Templates
Backport PR #6117: Remove / from route of TreeRedirectHandler....
Backport PR #6117: Remove / from route of TreeRedirectHandler. When base_url is set, navigating to http://{url}/{base_url} returns 404 This is due to the TreeRedirectHandler only picking up http://{url}/{base_url}/ and the TrailingSlashHandler being set to {base_url}/.*/. This change will cause http://{url}/{base_url} to correctly redirect to http://{url}/{base_url}/tree, as expected. ...

File last commit:

r12513:6b68269f
r17364:0d882932
Show More
__init__.py
8 lines | 185 B | text/x-python | PythonLexer
from .base import PostProcessorBase
from .pdf import PDFPostProcessor
# protect against unavailable tornado
try:
from .serve import ServePostProcessor
except ImportError:
pass