vue-cli-plugin-access
Advanced tools
Comparing version 1.4.3 to 1.4.4
@@ -10,7 +10,4 @@ import axios from "axios"; | ||
error => { | ||
if ( | ||
401 === error.response.status && | ||
window.location.pathname !== "/login" | ||
) { | ||
window.location = "/login"; | ||
if (401 === error.response.status) { | ||
window.location = process.env.VUE_APP_A55_AUTH; | ||
} | ||
@@ -17,0 +14,0 @@ return Promise.reject(error); |
{ | ||
"name": "vue-cli-plugin-access", | ||
"version": "1.4.3", | ||
"version": "1.4.4", | ||
"description": "vue-cli 3 plugin to add A55 presets", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
1774393
770
13