First of all i wanna say that my app worked perfectly fine while hosted locally, but it has 2 problems after i hosted with render, so the first problem is that with some requests it gives me a cors error, and i have set up cors properly so idk why this is happening, also im using session cookies with redis, and for some reason when these cookies get sent to the frontend they dont persist, they get removed from the website, now whats even more weird is that the cookies actually come back if you wait for 1 minute??? can someone please tell me how to fix the cors and session problems!!
if you want to see the code then tell me and i will send any of my code