Configurado en el archivo src/proxy.conf.json y referenciado en angular.json solo en desarrollo, no en prod
En el archivo proxy.conf.json el token y la url estan harcodeados y falta referenciarlos de environtment. Como no se pueden importar variables a un archivo json habria que convertir el archivo a .js. Lo he intentado pero de todos modos me ha dado error.
--- proxy ---
Configurado en el archivo src/proxy.conf.json y referenciado en angular.json solo en desarrollo, no en prod
En el archivo proxy.conf.json el token y la url estan harcodeados y falta referenciarlos de environtment. Como no se pueden importar variables a un archivo json habria que convertir el archivo a .js. Lo he intentado pero de todos modos me ha dado error.
Aquí esta la info oficial del proxy [https://angular.io/guide/build#proxying-to-a-backend-server]
--- endpoints ---
--- testing ---