Proxy-Konfiguration hinzugefügt, um API-Anfragen während der Entwicklung zu erleichtern.
This commit is contained in:
@@ -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": {
|
||||||
|
|||||||
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