I have a React SPA application using react router dom.
and I have some proxies. Here is the netlify.toml file
[[redirects]]
from = "/api/*"
to = "https://api.mysite.com/:splat"
force = true
[[redirects]]
from = "/*"
to = "/"
status = 200
The problem is when i want to redirect to signin page based on cookie validation in server. I use 304 redirection to signin page as response. But in signin page, cors error occurs