This commit is contained in:
Bastian Wagner
2024-09-12 16:26:55 +02:00
parent 542f0705e2
commit e49bb80670
6 changed files with 556 additions and 77 deletions

View File

@@ -62,6 +62,9 @@
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"proxyConfig": "proxy.conf.json"
},
"configurations": {
"production": {
"buildTarget": "client:build:production"

11
client/proxy.conf.json Normal file
View File

@@ -0,0 +1,11 @@
{
"/api": {
"target": "http://localhost:4000",
"secure": false,
"logLevel": "debug",
"changeOrigin": true,
"pathRewrite": {
"^/api": ""
}
}
}