Demo Update 25

This commit is contained in:
2025-03-30 11:01:42 -04:00
parent e7561d86e8
commit d18ab2ff28
2 changed files with 564 additions and 6 deletions

View File

@@ -149,10 +149,7 @@ def index():
"""Serve the main interface"""
return render_template('index.html')
@app.route('/voice-chat.js')
def voice_chat_js():
"""Serve the JavaScript for voice chat"""
return app.send_static_file('voice-chat.js')
@socketio.on('connect')
def handle_connect():
@@ -688,4 +685,4 @@ if __name__ == '__main__':
# Start the server
print("Starting Flask SocketIO server...")
socketio.run(app, host='0.0.0.0', port=8000, debug=False)
socketio.run(app, host='0.0.0.0', port=5000, debug=False)