Allow all origins

This commit is contained in:
redfast00 2019-10-08 03:46:04 +02:00
parent 5013020bdf
commit 0607536b91
No known key found for this signature in database
GPG Key ID: 5946E0E34FD0553C
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,8 @@ mpc.timeout = 0.2
app = Flask(__name__)
socketio = SocketIO(app)
# This is fine
socketio = SocketIO(app, cors_allowed_origins='*')
messages = []
last_sent = defaultdict(lambda: datetime(1970,1,1))