mirror of
https://github.com/simple-login/app.git
synced 2024-09-20 15:05:59 +08:00
add /live endpoint
This commit is contained in:
parent
b7fdbe7721
commit
450b101e6e
|
@ -7,6 +7,11 @@ def git_sha1():
|
|||
return SHA1
|
||||
|
||||
|
||||
@monitor_bp.route("/live")
|
||||
def live():
|
||||
return "live"
|
||||
|
||||
|
||||
@monitor_bp.route("/exception")
|
||||
def test_exception():
|
||||
raise Exception("to make sure sentry works")
|
||||
|
|
Loading…
Reference in a new issue