mirror of
https://github.com/langgenius/dify.git
synced 2026-04-30 15:38:08 +08:00
add workflow logics
This commit is contained in:
17
api/controllers/console/ping.py
Normal file
17
api/controllers/console/ping.py
Normal file
@ -0,0 +1,17 @@
|
||||
from flask_restful import Resource
|
||||
|
||||
from controllers.console import api
|
||||
|
||||
|
||||
class PingApi(Resource):
|
||||
|
||||
def get(self):
|
||||
"""
|
||||
For connection health check
|
||||
"""
|
||||
return {
|
||||
"result": "pong"
|
||||
}
|
||||
|
||||
|
||||
api.add_resource(PingApi, '/ping')
|
||||
Reference in New Issue
Block a user