Update web_app.py
This commit is contained in:
parent
98bce1d640
commit
0ceeb43abc
|
@ -18,7 +18,7 @@ def incoming():
|
|||
if not user or not text:
|
||||
return jsonify({"error": "Invalid data"}), 400
|
||||
|
||||
msg = f"[CHATBOX] {user}: {text}"
|
||||
msg = f"[CHAT] {user}: {text}"
|
||||
try:
|
||||
r.publish("chatbox_to_irc", msg)
|
||||
print(f"[REDIS] Published: {msg}")
|
||||
|
|
Loading…
Reference in New Issue