Skip to content

Commit

Permalink
Merge pull request #871 from carpecodeum/fix_cors_error
Browse files Browse the repository at this point in the history
Fix CORS error
  • Loading branch information
JaDogg authored May 30, 2020
2 parents e1b48b9 + 26fe291 commit 9fca203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/core/initializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

server = Flask(__name__)
server.config['SECRET_KEY'] = SERVER_SECRET_KEY
socketio = SocketIO(server, debug=True, logger=True, engineio_logger=True, ping_timeout=600)
socketio = SocketIO(server, cors_allowed_origins="*", debug=True, logger=True, engineio_logger=True, ping_timeout=600)
cors = CORS(server)
p = None
verbose = False
Expand Down

0 comments on commit 9fca203

Please sign in to comment.