JoeBussard / polywordleapi

the api for playing polywordle
0 stars 0 forks source link

Corrupt headers #62

Closed JoeBussard closed 2 years ago

JoeBussard commented 2 years ago

Certain requests cause Flask to think a request method includes JSON data in the request.

See https://stackoverflow.com/questions/71950802/flask-cors-work-only-for-first-request-whats-the-bug-in-my-code

JoeBussard commented 2 years ago

Fixed by adding threaded=False to the bottom.

JoeBussard commented 2 years ago

Haven't pushed the code yet though

JoeBussard commented 2 years ago

threaded=False has been added.