'use strict' const os = require( 'os' ) , path = require( 'path' ) const PRODUCTION = ( 'PRODUCTION' == process.env.ENV ) || ( '' == os.hostname() ) module.exports = exports = { ENV: { PRODUCTION , IP : process.env.IP || ( PRODUCTION && '' ) || '::' , IP6 : process.env.IP6 || ( PRODUCTION && '' ) || '::' , PORT : process.env.PORT || 8080 , SSLPORT : process.env.SSLPORT || 4443 , HOST : '' } , Paths: { imgGlobal : 'https://' , imgLocal : '~/photos/' , imgFTP : '~/ftp/' } , SQL: { BaseURL : 'http://' , auth : { user : 'user' , pass : 'pass' } } , Accounts : [ 'account1' , 'account2' ] }