Proxy-Konfiguration hinzugefügt, um API-Anfragen während der Entwicklung zu erleichtern.
This commit is contained in:
@@ -191,7 +191,8 @@
|
||||
"options": {
|
||||
"liveReload": false,
|
||||
"port": 4204,
|
||||
"buildTarget": "staffdb:build"
|
||||
"buildTarget": "staffdb:build",
|
||||
"proxyConfig": "proxy.conf.json"
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
|
||||
7
ClientApp/staff-db-ui/proxy.conf.json
Normal file
7
ClientApp/staff-db-ui/proxy.conf.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"/api": {
|
||||
"target": "https://localhost:7202",
|
||||
"secure": false,
|
||||
"changeOrigin": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user