Skip to content

Instantly share code, notes, and snippets.

@maxca
Last active October 19, 2016 05:59
Show Gist options
  • Save maxca/2c04b8ad05bf9ab24a33271bd1258eb6 to your computer and use it in GitHub Desktop.
Save maxca/2c04b8ad05bf9ab24a33271bd1258eb6 to your computer and use it in GitHub Desktop.
/** 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