File tree 1 file changed +3
-3
lines changed
deployment/http-root/ajs/app/components
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
//// Angular Code ////
8
8
angular . module ( 'codeine' ) . constant ( 'Constants' , {
9
9
CODEINE_NODES_PROJECT_NAME : 'Codeine_Internal_Nodes_Project' ,
10
- CODEINE_WEB_SERVER : location . hostname . indexOf ( '127.0.0.1' ) === - 1 ? '' : ' http://icsl2356.iil.intel.com:12377',
11
- CODEINE_API_PREFIX : location . hostname . indexOf ( '127.0.0.1' ) === - 1 ? '/api' : '/api-with-token ' ,
10
+ CODEINE_WEB_SERVER : ( location . port === '9000' && location . hostname === '127.0.0.1' ) ? 'http://icsl2356.iil.intel.com:12377' : ' ',
11
+ CODEINE_API_PREFIX : ( location . port === '9000' && location . hostname === '127.0.0.1' ) ? '/api-with-token ' : '/api' ,
12
12
//CODEINE_WEB_SERVER : location.hostname.indexOf('127.0.0.1') === -1 ? '' : 'http://localhost:12347',
13
13
EVENTS : {
14
14
TAGS_CHANGED : 'tagsChanged' ,
15
15
BREADCRUMB_CLICKED : 'breadcrumbClicked'
16
16
}
17
17
} ) ;
18
18
19
- } ) ( angular ) ;
19
+ } ) ( angular ) ;
You can’t perform that action at this time.
0 commit comments