whosonfirst/whosonfirst-www-spelunker

Download link from query results is busted

Closed this issue · 3 comments

The link that says "Download descendants" from a page like this one doesn't take the path prefix into account (i.e., /download/[id] instead of /spelunker/download/[id]).

Assigning this to @stepps00 (who discovered it) as an exercise. Take a look at how the path is constructed here to see how this should be fixed.

This commit fixes the issue by adding {{ url_for('index') }} to the url structure.

This commit removed duplicate / in the download descendants url.

This link should now be fixed in the dev branch.

Hooray! \o/