Update app.py
Browse files
app.py
CHANGED
|
@@ -889,6 +889,13 @@ def create_chat_room():
|
|
| 889 |
|
| 890 |
@app.route("/api/chat/join/<room_id>")
|
| 891 |
def join_chat_room(room_id):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 892 |
"""Join chat room - FIRST TIME ONLY (registration)"""
|
| 893 |
try:
|
| 894 |
password = request.args.get("password", "")
|
|
|
|
| 889 |
|
| 890 |
@app.route("/api/chat/join/<room_id>")
|
| 891 |
def join_chat_room(room_id):
|
| 892 |
+
print(f"\n{'='*60}")
|
| 893 |
+
print(f"🔵 REST API: /api/chat/join/{room_id[:8]}...")
|
| 894 |
+
print(f"{'='*60}")
|
| 895 |
+
print(f"Method: {request.method}")
|
| 896 |
+
print(f"Args: {dict(request.args)}")
|
| 897 |
+
print(f"Headers: {dict(request.headers)}")
|
| 898 |
+
print(f"{'='*60}\n")
|
| 899 |
"""Join chat room - FIRST TIME ONLY (registration)"""
|
| 900 |
try:
|
| 901 |
password = request.args.get("password", "")
|