Update sbx/a/c1.py
Browse files- sbx/a/c1.py +3 -5
sbx/a/c1.py
CHANGED
|
@@ -67,11 +67,9 @@ def start_simple_api(port=5000):
|
|
| 67 |
app = Flask(__name__)
|
| 68 |
|
| 69 |
@app.route('/', methods=['GET'])
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
# def home():
|
| 74 |
-
# return jsonify({'message': 'API 服务运行中', 'status': 'ok'})
|
| 75 |
|
| 76 |
# 在后台线程中启动服务
|
| 77 |
thread = threading.Thread(
|
|
|
|
| 67 |
app = Flask(__name__)
|
| 68 |
|
| 69 |
@app.route('/', methods=['GET'])
|
| 70 |
+
def home():
|
| 71 |
+
return render_template_string(HTML_PAGE)
|
| 72 |
+
# return jsonify({'message': 'API 服务运行中', 'status': 'ok'})
|
|
|
|
|
|
|
| 73 |
|
| 74 |
# 在后台线程中启动服务
|
| 75 |
thread = threading.Thread(
|