File tree Expand file tree Collapse file tree 5 files changed +7
-4
lines changed Expand file tree Collapse file tree 5 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 44 "license" : " MIT" ,
55 "scripts" : {
66 "ng" : " ng" ,
7- "start" : " ng serve" ,
7+ "start" : " ng serve --proxy-config proxy.conf.json " ,
88 "build" : " ng build" ,
99 "test" : " ng test" ,
1010 "lint" : " ng lint" ,
Original file line number Diff line number Diff line change 11{
2- "/test2 " : {
2+ "/Plone " : {
33 "target" : " http://127.0.0.1:8080" ,
44 "secure" : true
55 }
6- }
6+ }
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import { AppComponent } from './app.component';
99import { CustomViewView } from './custom' ;
1010import { CustomBreadcrumbs } from './custom' ;
1111import { CustomGlobalNavigation } from './custom' ;
12+ import { environment } from '../environments/environment' ;
1213
1314@NgModule ( {
1415 declarations : [
@@ -29,7 +30,7 @@ import { CustomGlobalNavigation } from './custom';
2930 providers : [
3031 {
3132 provide : 'CONFIGURATION' , useValue : {
32- BACKEND_URL : 'http://localhost:8080/test2' ,
33+ BACKEND_URL : environment . backendUrl ,
3334 }
3435 } ,
3536 ] ,
Original file line number Diff line number Diff line change 11export const environment = {
2+ backendUrl : 'http://localhost:4200/Plone' ,
23 production : true
34} ;
Original file line number Diff line number Diff line change 44// The list of which env maps to which file can be found in `.angular-cli.json`.
55
66export const environment = {
7+ backendUrl : 'http://localhost:4200/Plone' ,
78 production : false
89} ;
You can’t perform that action at this time.
0 commit comments