We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f65c2d commit d3349f7Copy full SHA for d3349f7
src/www/util.js
@@ -13,10 +13,10 @@ var WebView = {
13
if (url.startsWith('file://')) {
14
return window.WEBVIEW_SERVER_URL + url.replace('file://', '/_app_file_');
15
}
16
- if (url.startsWith('http://') && convertHttp) {
+ if (convertHttp && url.startsWith('http://')) {
17
return window.WEBVIEW_SERVER_URL + encodeURIComponent(url.replace('http://', '/_http_proxy_'));
18
19
- if (url.startsWith('https://') && convertHttp) {
+ if (convertHttp && url.startsWith('https://')) {
20
return window.WEBVIEW_SERVER_URL + encodeURIComponent(url.replace('https://', '/_https_proxy_'));
21
22
if (url.startsWith('content://')) {
0 commit comments