mirror of
https://github.com/yshtcn/ServerChanPush2TelegramBot.git
synced 2025-12-13 17:50:22 +08:00
-修改ServerChanPush2TelegramBot.py:增加到队列时为200
This commit is contained in:
parent
663b7689e4
commit
9f393f3bc9
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user