File tree Expand file tree Collapse file tree 5 files changed +16
-7
lines changed
app/core/services/config-service Expand file tree Collapse file tree 5 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,5 @@ testem.log
4242Thumbs.db
4343
4444# Environment files
45- /src /environments /*
4645.scannerwork /
4746
Original file line number Diff line number Diff line change 3333 },
3434 "configurations" : {
3535 "production" : {
36+ "fileReplacements" : [
37+ {
38+ "replace" : " src/environments/environment.ts" ,
39+ "with" : " src/environments/environment.prod.ts"
40+ }
41+ ],
3642 "budgets" : [
3743 {
3844 "type" : " initial" ,
Original file line number Diff line number Diff line change 11// import { environment } from '../../../../environments/environment';
2+ import { environment } from '../../../../environments/environment' ;
23import { EnumType } from '../../models/data-handle' ;
34import { ReadStatusNotice } from '../../models/notice.model' ;
45import {
@@ -11,7 +12,7 @@ export const version = '/v1';
1112
1213export const API_CONFIG = {
1314 BASE_URLS : {
14- MAIN_API : 'http://localhost:8888/api' + version ,
15+ MAIN_API : environment . IP_SERVER + version ,
1516 SECONDARY_API : '' ,
1617 } ,
1718 ENDPOINTS : {
Original file line number Diff line number Diff line change 1+ export const environment = {
2+ production : true ,
3+ IP_SERVER : 'http://72.60.41.133:8888/api' ,
4+ IP_SERVER_NO_SSL : 'http://192.168.1.220:8000/api' ,
5+ IP_SERVER_RADMIN : 'http://26.100.147.137:8888/api' ,
6+ IP_LOCAL : 'http://localhost:8081/api' ,
7+ } ;
Original file line number Diff line number Diff line change 11export const environment = {
2+ production : false ,
23 IP_SERVER : 'http://localhost:8888/api' ,
3- // IP_SERVER: 'http://192.168.1.220:8888/api',
4- IP_SERVER_NO_SSL : 'http://192.168.1.220:8000/api' ,
5- IP_SERVER_RADMIN : 'http://26.100.147.137:8888/api' ,
6- IP_LOCAL : 'http://localhost:8081/api' ,
74} ;
8-
You can’t perform that action at this time.
0 commit comments