cube-studio/myapp/views/route.py
2023-09-03 21:15:58 +08:00

19 lines
211 B
Python
Executable File

from myapp import app
config = app.config
@app.route("/health")
def health():
return "OK"
@app.route("/healthcheck")
def healthcheck():
return "OK"
@app.route("/ping")
def ping():
return "OK"