Muhammad Abdur Rahman Saad
commited on
Commit
·
eeee6ef
1
Parent(s):
8cec124
Update main.py
Browse files- routes/main.py +4 -0
routes/main.py
CHANGED
@@ -3,6 +3,10 @@ from main import main as data_collection
|
|
3 |
|
4 |
from . import bp
|
5 |
|
|
|
|
|
|
|
|
|
6 |
@bp.route('/trigger-data-collection', methods=['GET'])
|
7 |
def trigger_data_collection():
|
8 |
"""
|
|
|
3 |
|
4 |
from . import bp
|
5 |
|
6 |
+
@bp.route('/health')
|
7 |
+
def health():
|
8 |
+
return jsonify({"message": "OK"}), 200
|
9 |
+
|
10 |
@bp.route('/trigger-data-collection', methods=['GET'])
|
11 |
def trigger_data_collection():
|
12 |
"""
|