Code Review
/
portal
/
nonrtric-controlpanel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Mock the backend API calls
[portal/nonrtric-controlpanel.git]
/
webapp-frontend
/
angular.json
diff --git
a/webapp-frontend/angular.json
b/webapp-frontend/angular.json
index
be2d429
..
22246ff
100644
(file)
--- a/
webapp-frontend/angular.json
+++ b/
webapp-frontend/angular.json
@@
-66,6
+66,14
@@
"maximumError": "5mb"
}
]
"maximumError": "5mb"
}
]
+ },
+ "mock": {
+ "fileReplacements": [
+ {
+ "replace": "src/environments/environment.ts",
+ "with": "src/environments/environment.mock.ts"
+ }
+ ]
}
}
},
}
}
},
@@
-77,6
+85,9
@@
"configurations": {
"production": {
"browserTarget": "controlpanelApp:build:production"
"configurations": {
"production": {
"browserTarget": "controlpanelApp:build:production"
+ },
+ "mock": {
+ "browserTarget": "controlpanelApp:build:mock"
}
}
},
}
}
},