Skip to content

Commit

Permalink
Update constants.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ezraroi authored Nov 13, 2018
1 parent 90d22a4 commit a42a822
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deployment/http-root/ajs/app/components/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
//// Angular Code ////
angular.module('codeine').constant('Constants', {
CODEINE_NODES_PROJECT_NAME : 'Codeine_Internal_Nodes_Project',
CODEINE_WEB_SERVER : location.hostname.indexOf('127.0.0.1') === -1 ? '' : 'http://icsl2356.iil.intel.com:12377',
CODEINE_API_PREFIX : location.hostname.indexOf('127.0.0.1') === -1 ? '/api' : '/api-with-token',
CODEINE_WEB_SERVER : (location.port === '9000' && location.hostname === '127.0.0.1') ? 'http://icsl2356.iil.intel.com:12377' : '',
CODEINE_API_PREFIX : (location.port === '9000' && location.hostname === '127.0.0.1') ? '/api-with-token' : '/api',
//CODEINE_WEB_SERVER : location.hostname.indexOf('127.0.0.1') === -1 ? '' : 'http://localhost:12347',
EVENTS : {
TAGS_CHANGED : 'tagsChanged',
BREADCRUMB_CLICKED : 'breadcrumbClicked'
}
});

})(angular);
})(angular);

0 comments on commit a42a822

Please sign in to comment.