cube-studio/myapp/views/route.py
2021-09-07 18:09:47 +08:00

34 lines
367 B
Python
Executable File

from myapp import (
app,
appbuilder,
conf,
db,
event_logger,
get_feature_flags,
is_feature_enabled,
results_backend,
security_manager,
)
config = app.config
@app.route("/health")
def health():
return "OK"
@app.route("/healthcheck")
def healthcheck():
return "OK"
@app.route("/ping")
def ping():
return "OK"