Skip to content

Commit ed587cf

Browse files
committed
Fix redirect_type for htmldir
1 parent 6b44283 commit ed587cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/redirects/querysets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def get_redirect_path_with_status(self, path, full_path=None, language=None, ver
9191
)
9292
)
9393
sphinx_htmldir = Q(
94-
redirect_type='sphinx_html',
94+
redirect_type='sphinx_htmldir',
9595
path__endswith='.html',
9696
)
9797

0 commit comments

Comments
 (0)