diff --git a/Backend/index.html b/Backend/index.html index 1d0c289..9fcc887 100644 --- a/Backend/index.html +++ b/Backend/index.html @@ -263,6 +263,567 @@ - + \ No newline at end of file diff --git a/Backend/server.py b/Backend/server.py index 88ed2fa..634ecb1 100644 --- a/Backend/server.py +++ b/Backend/server.py @@ -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) \ No newline at end of file + socketio.run(app, host='0.0.0.0', port=5000, debug=False) \ No newline at end of file