We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2dad2a commit 89ce899Copy full SHA for 89ce899
src/www/util.js
@@ -8,6 +8,9 @@ var WebView = {
8
if (!url.startsWith('file://')) {
9
return url;
10
}
11
+ if (window.WEBVIEW_SERVER_URL.startsWith('ionic://')) {
12
+ return url.replace('file', 'ionic-asset');
13
+ }
14
url = url.substr(7); // len("file://") == 7
15
if (url.length === 0 || url[0] !== '/') { // ensure the new URL starts with /
16
url = '/' + url;
0 commit comments