(function () {
'use strict';
/**
* URLs required for API calls. Parent keys represent execution environments.
* When the app is run on `localhost`, the default environment is `DEV_PROD`.
* The defaults can be overwritten with a custom value in `current-environment.value.js`.
* @memberof mohistory
* @name configSeparated
* @ngdoc constant
*/
angular
.module('mohistory')
.constant('configSeparated', {
PRODUCTION: {
SERVICES_PATH: 'http://data.mohistory.org/MOLabServices/',
PLUGINS_PATH: 'http://data.mohistory.org/MOLabPlugins/',
API_BASE: 'http://utils-backend.mohistory.org/',
WP_PATH: 'http://utils-backend.mohistory.org/web/',
},
PREVIEW: {
SERVICES_PATH: 'http://data.mohistory.org/molabservicesDev/',
PLUGINS_PATH: 'http://data.mohistory.org/MOLabPlugins/',
API_BASE: 'http://utils-backend.mohistory.org/',
WP_PATH: 'http://utils-backend.mohistory.org/preview/',
},
STAGING: {
SERVICES_PATH: 'http://data.mohistory.org/MOLabServices/',
PLUGINS_PATH: 'http://data.mohistory.org/molabpluginsDev/',
API_BASE: 'http://utils-staging.mohistory.org/',
WP_PATH: 'http://utils-staging.mohistory.org/public/',
},
DARON: {
SERVICES_PATH: 'http://data.mohistory.org/molabservicesDev/',
PLUGINS_PATH: 'http://localhost:8080/molabplugins/',
API_BASE: 'http://utils-staging.mohistory.org/',
WP_PATH: 'http://utils.mohistory.org/public/',
},
JARRED: {
SERVICES_PATH: 'http://data.mohistory.org/molabservicesDev/',
PLUGINS_PATH: 'http://data.mohistory.org/MOLabPlugins/',
API_BASE: 'http://utils-backend.mohistory.org/',
WP_PATH: 'http://utils.mohistory.org/web/',
},
SIERRA: {
SERVICES_PATH: 'http://data.mohistory.org/molabservicesDev/',
PLUGINS_PATH: 'http://data.mohistory.org/MOLabPlugins/',
API_BASE: 'http://utils-backend.mohistory.org/',
WP_PATH: 'http://utils-backend.mohistory.org/preview/',
},
DEV_PROD: {
SERVICES_PATH: 'http://data.mohistory.org/molabservicesDev/',
PLUGINS_PATH: 'http://data.mohistory.org/MOLabPlugins/',
API_BASE: 'http://utils-backend.mohistory.org/',
WP_PATH: 'http://utils-staging.mohistory.org/preview/',
},
DEV_PROD_PLUGIN: {
SERVICES_PATH: 'http://data.mohistory.org/molabservicesDev/',
PLUGINS_PATH: 'http://data.mohistory.org/MOLabPlugins/',
API_BASE: 'http://utils-backend.mohistory.org/',
WP_PATH: 'http://utils-staging.mohistory.org/preview/',
},
DEV_DEV: {
SERVICES_PATH: 'http://data.mohistory.org/molabservicesDev/',
PLUGINS_PATH: '/molabplugins/',
API_BASE: 'http://utils-backend.mohistory.org/',
WP_PATH: 'http://utils-staging.mohistory.org/preview/',
},
DEV_DEV_FLASK: {
SERVICES_PATH: 'http://data.mohistory.org/molabservicesDev/',
PLUGINS_PATH: '/molabplugins/',
API_BASE: 'http://utils-backend.mohistory.org/',
WP_PATH: '/flask/preview/',
}
});
})();