Remove auth req for accessing opensearch

Requiring authentication for accessing the opensearch template prevents
the browser from accessing the file when adding as a default search
engine. This removes the authentication requirement from the opensearch
route, which should never provide any sensitive information anyways.
main
Ben Busby 2021-02-26 11:42:42 -05:00 committed by Ben Busby
parent 36b350e1cd
commit d146016860
1 changed files with 0 additions and 1 deletions

View File

@ -136,7 +136,6 @@ def index():
@app.route('/opensearch.xml', methods=['GET'])
@auth_required
def opensearch():
opensearch_url = g.app_location
if opensearch_url.endswith('/'):