@sweetui/sweet-mobile
Advanced tools
Comparing version 2.2.0 to 2.2.1
{ | ||
"name": "@sweetui/sweet-mobile", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "Sweet Mobile Core", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -72,3 +72,3 @@ import axios from 'axios'; | ||
// 在server.config.js中寻找匹配前缀的代理 | ||
for (const [prefix, target] of Object.entries(this.OPTIONS.config.proxy)) { | ||
for (const [prefix, target] of Object.entries(this.OPTIONS.config.proxy || {})) { | ||
if (url.startsWith(prefix)) { | ||
@@ -75,0 +75,0 @@ url = target + url.replace(prefix, '') |
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
127373