如何解决如何解决nuxt中与Cookie相关的警告?
我在浏览器中遇到的这些错误是什么?以及我该如何解决?
我将nuxt与打字稿一起使用,并使用cookie-universal-nuxt
存储身份验证令牌。
Cookie “exp_last_visit” will be soon treated as cross-site cookie against “http://ts-nuxt.pv/_nuxt/4.js” because the scheme does not match. 4.js
Cookie “exp_last_activity” will be soon treated as cross-site cookie against “http://ts-nuxt.pv/_nuxt/4.js” because the scheme does not match. 4.js
Cookie “exp_csrf_token” will be soon treated as cross-site cookie against “http://ts-nuxt.pv/_nuxt/4.js” because the scheme does not match. 4.js
Cookie “__stripe_sid” will be soon treated as cross-site cookie against “http://ts-nuxt.pv/_nuxt/4.js” because the scheme does not match. 4.js
Cookie “__stripe_mid” will be soon treated as cross-site cookie against “http://ts-nuxt.pv/_nuxt/4.js” because the scheme does not match. 4.js
Cookie “XSRF-TOKEN” will be soon treated as cross-site cookie against “http://ts-nuxt.pv/_nuxt/4.js” because the scheme does not match. 4.js
Cookie “laravel_session” will be soon treated as cross-site cookie against “http://ts-nuxt.pv/_nuxt/4.js” because the scheme does not match. 4.js
Cookie “exp_last_visit” will be soon treated as cross-site cookie against “http://ts-nuxt.pv/_nuxt/3.js” because the scheme does not match. 3.js
Cookie “exp_last_activity” will be soon treated as cross-site cookie against “http://ts-nuxt.pv/_nuxt/3.js” because the scheme does not match. 3.js
Cookie “exp_csrf_token” will be soon treated as cross-site cookie against “http://ts-nuxt.pv/_nuxt/3.js” because the scheme does not match. 3.js
Cookie “__stripe_sid” will be soon treated as cross-site cookie against “http://ts-nuxt.pv/_nuxt/3.js” because the scheme does not match. 3.js
Cookie “__stripe_mid” will be soon treated as cross-site cookie against “http://ts-nuxt.pv/_nuxt/3.js” because the scheme does not match. 3.js
Cookie “XSRF-TOKEN” will be soon treated as cross-site cookie against “http://ts-nuxt.pv/_nuxt/3.js” because the scheme does not match. 3.js
Cookie “laravel_session” will be soon treated as cross-site cookie against “http://ts-nuxt.pv/_nuxt/3.js” because the scheme does not match.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。