mirror of
https://github.com/tencentmusic/cube-studio.git
synced 2024-12-21 06:19:31 +08:00
34 lines
367 B
Python
Executable File
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"
|
|
|
|
|