Skip to content

Commit 7886b5b

Browse files
committed
Renaming the query parameter, and not applying it only when server settings are applied
1 parent eb34561 commit 7886b5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

parseSettings.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ function convertServerSettingsToUrl(serverSettings, launchUrl) {
2727
if (serverSettings.env) {
2828
queryString.push('env=' + serverSettings.env);
2929
}
30-
31-
queryString.push('chromeApp');
3230
}
3331

3432
//if no environment set then default to production
@@ -39,6 +37,8 @@ function convertServerSettingsToUrl(serverSettings, launchUrl) {
3937
queryString.push('env=production');
4038
}
4139

40+
queryString.push('platform=chromeApp');
41+
4242
url += (url.indexOf('?') < 0 ? '?' : '&') + queryString.join('&');
4343
return url;
4444
}

0 commit comments

Comments
 (0)