express js clear cookie

65

express js clear cookie -

res.clearCookie("key");

how to delete cookie node js -

cookies.set('testtoken', {expires: Date.now()});

Comments

Submit
0 Comments