还有我的cors策略配置
app.use(
cors({
credentials: true,
origin: "https://client-boggy.vercel.app",
path: "/",
methods: ["GET", "POST", "PUT", "DELETE"],
})
);
but NOT Working
根据你分享的截图,看起来httpOnly
选项被设置为true,这阻止了客户端JavaScript访问cookie。