Proxy-Konfiguration hinzugefügt, um API-Anfragen während der Entwicklung zu erleichtern.

This commit is contained in:
Developer 02
2024-08-05 17:09:24 +02:00
parent d6a2153530
commit b43a769216
2 changed files with 9 additions and 1 deletions

View File

@@ -191,7 +191,8 @@
"options": { "options": {
"liveReload": false, "liveReload": false,
"port": 4204, "port": 4204,
"buildTarget": "staffdb:build" "buildTarget": "staffdb:build",
"proxyConfig": "proxy.conf.json"
}, },
"configurations": { "configurations": {
"production": { "production": {

View File

@@ -0,0 +1,7 @@
{
"/api": {
"target": "https://localhost:7202",
"secure": false,
"changeOrigin": true
}
}