Add ng serve proxy so we can play calls in devel

This commit is contained in:
Daniel Ponte 2025-01-05 11:47:26 -05:00
parent 0821fc4422
commit c30ea57bb8
2 changed files with 8 additions and 1 deletions

View file

@ -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"

View file

@ -1,3 +1,3 @@
export const environment = {
baseUrl: 'http://xenon:3050',
baseUrl: '',
};