Skip to content

Commit 9001434

Browse files
committed
fix: not working on ios & android
1 parent 546608b commit 9001434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/templates/src/cordovaLoader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ function getCordovaUrl() {
2020
const platform = params.reduce((p, kv) => {
2121
const split = kv.split('=');
2222
return split[0] === '_cp' ? split[1] : p;
23-
}) || 'browser';
23+
}, 'browser');
2424
return `cordova/${platform}/platform_www/cordova.js`;
2525
}

0 commit comments

Comments
 (0)