Add ng serve proxy so we can play calls in devel
This commit is contained in:
parent
0821fc4422
commit
c30ea57bb8
2 changed files with 8 additions and 1 deletions
|
@ -61,6 +61,10 @@
|
|||
"optimization": false,
|
||||
"extractLicenses": false,
|
||||
"sourceMap": true,
|
||||
"index": {
|
||||
"input": "src/index.dev_nocsp.html",
|
||||
"output": "index.html"
|
||||
},
|
||||
"fileReplacements": [
|
||||
{
|
||||
"replace": "src/environments/environment.ts",
|
||||
|
@ -73,6 +77,9 @@
|
|||
},
|
||||
"serve": {
|
||||
"builder": "@angular-devkit/build-angular:dev-server",
|
||||
"options": {
|
||||
"proxyConfig": "src/proxy.conf.json"
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"buildTarget": "stillbox:build:production"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
export const environment = {
|
||||
baseUrl: 'http://xenon:3050',
|
||||
baseUrl: '',
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue