Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rebryk committed Nov 5, 2022
1 parent ffa9090 commit deb3fbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def query():
try:
response = flask.jsonify(search.search(query))
response.headers["Cache-Control"] = "s-maxage=86400"
return response
except Exception as e:
return flask.jsonify({"error": str(e)}), http.HTTPStatus.INTERNAL_SERVER_ERROR

Expand Down

1 comment on commit deb3fbd

@vercel
Copy link

@vercel vercel bot commented on deb3fbd Nov 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sahara – ./

sahara-git-master-rebryk.vercel.app
sahara-psi.vercel.app
sahara-rebryk.vercel.app

Please sign in to comment.