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 da6983e commit 6cbbbaaCopy full SHA for 6cbbbaa
src/init.js
@@ -97,7 +97,9 @@ AV.init = function init(options, ...params) {
97
}
98
AV._config.applicationId = appId;
99
AV._config.applicationKey = appKey;
100
- AV.setProduction(production);
+ if (!isNullOrUndefined(production)) {
101
+ AV.setProduction(production);
102
+ }
103
if (typeof disableCurrentUser !== 'undefined')
104
AV._config.disableCurrentUser = disableCurrentUser;
105
const disableAppRouter =
0 commit comments