Exclude opensearch route from session validation

Fixes #588
このコミットが含まれているのは:
Ben Busby 2022-01-11 10:50:35 -07:00
コミット ded787547a
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: B9B7231E01D924A1
1個のファイルの変更2行の追加1行の削除

ファイルの表示

@ -119,7 +119,8 @@ def before_request_func():
# Skip checking for session on any searches that don't
# require a valid session
if (not Endpoint.autocomplete.in_path(request.path) and
not Endpoint.healthz.in_path(request.path)):
not Endpoint.healthz.in_path(request.path) and
not Endpoint.opensearch.in_path(request.path)):
return redirect(url_for(
'session_check',
session_id=session['uuid'],