Sets the sqlapi domain. Fixes #82

This commit is contained in:
Javier Arce 2013-09-12 15:36:50 +02:00 committed by Sandro Santilli
parent 0c4bcca7c9
commit d4d5272bf2

View File

@ -9,7 +9,9 @@ var _ = require('underscore')
;
// This is for backward compatibility with 1.3.3
if ( ! global.environment.sqlapi.domain ) global.environment.sqlapi.host;
if ( ! global.environment.sqlapi.domain ) {
global.environment.sqlapi.domain = global.environment.sqlapi.host;
}
module.exports = function(){