Skip to content

Commit 3420cd2

Browse files
Fix typo
Add small comment on why we don't allow amazon-fireos as platform value
1 parent f5c4e23 commit 3420cd2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

redirect.ejs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
var protocol = '<%- https ? "https" : "http" %>'
2020
var port = '<%- port %>'
2121
var platform = device.platform.toLowerCase()
22-
if(platform === 'amazon-fireos') {
22+
if (platform === 'amazon-fireos') { // see https://github.com/dekimasoon/vue-cli-plugin-cordova/issues/29
23+
// platform "amazon-fireos" seems to have disapear from Cordova docs, and can't be downloaded anymore.
24+
// In order to avoid asking server for something that doesn't exist, "alias" "amazon-fireos" to simply "android"
2325
platform = 'android'
2426
}
2527
var redirectTo = protocol + '://' + getRedirectIp(lanIp) + ':' + port + '/?_cp=' + platform

0 commit comments

Comments
 (0)