@capacitor/ios
Advanced tools
Comparing version 5.7.3 to 5.7.4
@@ -148,9 +148,6 @@ | ||
const isHttps = proxyUrl.protocol === 'https:'; | ||
const originalHost = encodeURIComponent(proxyUrl.host); | ||
const originalPathname = proxyUrl.pathname; | ||
proxyUrl.protocol = bridgeUrl.protocol; | ||
proxyUrl.hostname = bridgeUrl.hostname; | ||
proxyUrl.port = bridgeUrl.port; | ||
proxyUrl.pathname = `${isHttps ? CAPACITOR_HTTPS_INTERCEPTOR : CAPACITOR_HTTP_INTERCEPTOR}/${originalHost}${originalPathname}`; | ||
return proxyUrl.toString(); | ||
bridgeUrl.search = proxyUrl.search; | ||
bridgeUrl.hash = proxyUrl.hash; | ||
bridgeUrl.pathname = `${isHttps ? CAPACITOR_HTTPS_INTERCEPTOR : CAPACITOR_HTTP_INTERCEPTOR}/${encodeURIComponent(proxyUrl.host)}${proxyUrl.pathname}`; | ||
return bridgeUrl.toString(); | ||
}; | ||
@@ -157,0 +154,0 @@ const initBridge = (w) => { |
{ | ||
"name": "@capacitor/ios", | ||
"version": "5.7.3", | ||
"version": "5.7.4", | ||
"description": "Capacitor: Cross-platform apps with JavaScript and the web", | ||
@@ -5,0 +5,0 @@ "homepage": "https://capacitorjs.com", |
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
348050
1026