mirror of
https://github.com/yshtcn/ServerChanPush2TelegramBot.git
synced 2026-01-28 17:42:01 +08:00
-修改ServerChanPush2TelegramBot.py:增加到队列时为200
This commit is contained in:
@@ -228,7 +228,7 @@ def index():
|
|||||||
'url': url
|
'url': url
|
||||||
})
|
})
|
||||||
write_pending_messages(pending_messages)
|
write_pending_messages(pending_messages)
|
||||||
return jsonify({"error": "Failed to send message, added to pending list"}), 400
|
return jsonify({"error": "Failed to send message, added to pending list"}), 200
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app.run(host='0.0.0.0', port=5000)
|
app.run(host='0.0.0.0', port=5000)
|
||||||
|
|||||||
Reference in New Issue
Block a user