Fixed default provider when no query string is passed

This commit is contained in:
Alan K 2015-08-16 13:14:31 -04:00
parent 9f625c0d0f
commit ddc41f49a5
1 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@ function getUrlParams() {
}
function getProviderType() {
var defaultProvider = 'default';
var queryString = getUrlParams();
// If the environment is node or the query string is empty,
@ -45,7 +46,7 @@ function getProviderType() {
return defaultProvider;
}
return queryString['filer-provider'] || 'default';
return queryString['filer-provider'] || defaultProvider;
}
function setup(callback) {