master
Aevann1 2022-03-20 02:03:25 +02:00
parent b4f3809682
commit 28964f16fe
2 changed files with 8 additions and 2 deletions

View File

@ -29,4 +29,10 @@ def speak(data, v):
}
emit('speak', data)
return '', 204
return '', 204
@sex.on('join room')
@auth_required
def join_room(data, v):
join_room('1')
return '', 204

View File

@ -47,7 +47,7 @@
</div>
<script src="/assets/js/socketio.js"></script>
<script src="/assets/js/chat.js?v=8"></script>
<script src="/assets/js/chat.js?v=9"></script>
<style>