How to set a cross-domain cookie and redirect in express ??
res.cookie('token' ,'token');
res.cookie('id', 'id');
res.redirect(301, 'https://example.com');
This is the code i am using but it is not working
How to set a cross-domain cookie and redirect in express ??
res.cookie('token' ,'token');
res.cookie('id', 'id');
res.redirect(301, 'https://example.com');
This is the code i am using but it is not working