mozilla/dxr

DXR fails to index files tracked by git when www_root is set

Closed this issue · 0 comments

DXR would fail at

[('permalink', 'Permalink', url_for('.rev',
.
It seems to work by changing
with make_app(tree.config).test_request_context():
to

with make_app(tree.config).test_request_context(tree.config.www_root + '/'):

but I'm new to Flask, so not sure if the fix is right.