Last active
October 19, 2016 05:59
-
-
Save maxca/2c04b8ad05bf9ab24a33271bd1258eb6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** config constant */ | |
(function() { | |
var configModule = angular.module('configModule', []); | |
configModule.constant('config', { | |
local: { | |
baseApi: 'http://localhost', | |
port: '8080', | |
register: '/register' | |
timeOut: 1800, | |
}, | |
staging: { | |
baseApi: 'http://staging.acb', | |
port: '8080', | |
register: '/register' | |
timeOut: 1800, | |
}, | |
production: { | |
baseApi: 'http://production.acb', | |
port: '8080', | |
register: '/register' | |
timeOut: 1800, | |
}, | |
}); | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment