diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-07-26 20:52:56 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-07-26 20:52:58 -0700 |
commit | 7ebcdfebdf4e1c8b69026a24cafe500c67dbc384 (patch) | |
tree | ab580d4307acc5d10b5a8669d28ac6a6ec6e81e5 /tests/files/elastic_fulltext_search.json | |
parent | eeb456c16d016d8523023f787597efae7a6317b9 (diff) | |
download | fatcat-scholar-7ebcdfebdf4e1c8b69026a24cafe500c67dbc384.tar.gz fatcat-scholar-7ebcdfebdf4e1c8b69026a24cafe500c67dbc384.zip |
web: access_redirect_fallback mechanism
This adds a helper code path that "tries harder" to find an access link,
by querying the fatcat API directly to look for any file from any
release associated with the work. If it finds a match, it does the
redirect as usual (but does log the incident).
If no match can be found, there is now a more helpful access-specific
404 error page.
If the *work* is a 404, the generic error page is shown.
Diffstat (limited to 'tests/files/elastic_fulltext_search.json')
0 files changed, 0 insertions, 0 deletions