Cant access cookie through JavaScript even though httpOnly is false

前端 未结 0 1430
挽巷
挽巷 2021-01-24 22:02

I\'ve set a cookie with an express server like this:

const payload = { email };
const options = { expiresIn: \'1h\' };
const token = sign(payload, process.env.JWT         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题