Demo Update 25
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user