Questions tagged [nestjs-config]
196 questions
-1
votes
1 answer
Cors error in nestjs. it is not working withCredentials
I am getting below error while using "{withCredentials:true}" in the API .if I am not using this then it is not working.
const submit = async(e:SyntheticEvent) =>{
e.preventDefault();
await axios.post('http://localhost:8000/api/login',{
…

Shruti sharma
- 199
- 6
- 21
- 67