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,
|
"optimization": false,
|
||||||
"extractLicenses": false,
|
"extractLicenses": false,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
|
"index": {
|
||||||
|
"input": "src/index.dev_nocsp.html",
|
||||||
|
"output": "index.html"
|
||||||
|
},
|
||||||
"fileReplacements": [
|
"fileReplacements": [
|
||||||
{
|
{
|
||||||
"replace": "src/environments/environment.ts",
|
"replace": "src/environments/environment.ts",
|
||||||
|
@ -73,6 +77,9 @@
|
||||||
},
|
},
|
||||||
"serve": {
|
"serve": {
|
||||||
"builder": "@angular-devkit/build-angular:dev-server",
|
"builder": "@angular-devkit/build-angular:dev-server",
|
||||||
|
"options": {
|
||||||
|
"proxyConfig": "src/proxy.conf.json"
|
||||||
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
"buildTarget": "stillbox:build:production"
|
"buildTarget": "stillbox:build:production"
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
export const environment = {
|
export const environment = {
|
||||||
baseUrl: 'http://xenon:3050',
|
baseUrl: '',
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue