Can you help me set up the Kratos.yml file for my React app? I am having an issue with redirecting users to the Ory Kratos login page. The code I am using is redirectTo("/.ory/ui/login"); but it is not working.
https://www.ory.sh/docs/getting-started/integrate-auth/react
The error is comming in the following lines if im using my kratos.yml file
.catch((err) => {
console.error(err)
// Redirect to login page
window.location.replace(
${basePath}/ui/login
)
})
}, [])