Skip to content

Commit

Permalink
namespace liveness with version number w/ burnettk
Browse files Browse the repository at this point in the history
  • Loading branch information
jasquat committed Dec 6, 2023
1 parent 25afae5 commit d64ae29
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/spiffworkflow_proxy/blueprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ def index() -> str:


@proxy_blueprint.route("/liveness")
def status_deprecated() -> Response:
return Response(json.dumps({"ok": True}), status=200, mimetype="application/json")


@proxy_blueprint.route("/v1/liveness")
def status() -> Response:
return Response(json.dumps({"ok": True}), status=200, mimetype="application/json")

Expand Down

0 comments on commit d64ae29

Please sign in to comment.