At the start of my cookie clicker I was getting a cors issue. Issue
It wasn't returning an access header despite me checking all my backend code correctly.
Here are the response headers during this error.
Here is what the response headers should look like.
I first double checked all my post put and get were working in postman. Then I tried to debug the front and back end.
In order to find the error, I placed breakpoints on my front end and backend to check where the code was failing.
After stepping through the front end code, I stepped into the backend methods. I set breakpoints in the CRUD and User.py classes.
Here are the response headers. The access headers are now defined and this solves the CORS issue.
At the start of my cookie clicker I was getting a cors issue. Issue It wasn't returning an access header despite me checking all my backend code correctly.
Here are the response headers during this error.
Here is what the response headers should look like.
I first double checked all my post put and get were working in postman. Then I tried to debug the front and back end.
In order to find the error, I placed breakpoints on my front end and backend to check where the code was failing.
After stepping through the front end code, I stepped into the backend methods. I set breakpoints in the CRUD and User.py classes.
Here are the response headers. The access headers are now defined and this solves the CORS issue.
Here is the updated payload.