update
This commit is contained in:
1 parent
36c9b9beb4
commit
42ad72c0ca
33 files changed
+114
-2260
No files matched your search
+1
-4
@@ -110,8 +110,5 @@ def get_wx_news():
|
||||
content, status_code = read_md_file(WX_NEWS_PATH)
|
||||
return jsonify({'content': content}), status_code
|
||||
|
||||
def run_server():
|
||||
app.run(host='0.0.0.0', port=5000)
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=True) # 在生产环境中应设置为 False
|
||||
app.run(debug=True, port=666) # 在生产环境中应设置为 False
|
||||
Reference in new issue
Block a user