cn-request
Advanced tools
Comparing version 1.0.32 to 1.0.33
@@ -209,3 +209,3 @@ (function (global, factory) { | ||
var xsrfToken = getCookie('XSRF-TOKEN'); | ||
if (!xsrfToken) { | ||
if (xsrfToken) { | ||
axiosInstance.defaults.headers.common['X-XSRF-TOKEN'] = xsrfToken; | ||
@@ -212,0 +212,0 @@ } |
{ | ||
"name": "cn-request", | ||
"version": "1.0.32", | ||
"version": "1.0.33", | ||
"description": "菜鸟前端统一请求库", | ||
@@ -5,0 +5,0 @@ "author": "牛尔", |
@@ -188,3 +188,3 @@ /** | ||
const xsrfToken = getCookie('XSRF-TOKEN'); | ||
if(!xsrfToken){ | ||
if(xsrfToken){ | ||
axiosInstance.defaults.headers.common['X-XSRF-TOKEN'] = xsrfToken; | ||
@@ -191,0 +191,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73978