Proxy api requests
This commit is contained in:
parent
7c8c565cba
commit
62b8dfa232
|
@ -94,10 +94,12 @@
|
|||
"builder": "@angular-devkit/build-angular:dev-server",
|
||||
"configurations": {
|
||||
"production": {
|
||||
"browserTarget": "allerta-vvf:build:production"
|
||||
"browserTarget": "allerta-vvf:build:production",
|
||||
"proxyConfig": "proxy.conf.json"
|
||||
},
|
||||
"development": {
|
||||
"browserTarget": "allerta-vvf:build:development"
|
||||
"browserTarget": "allerta-vvf:build:development",
|
||||
"proxyConfig": "proxy.conf.json"
|
||||
}
|
||||
},
|
||||
"defaultConfiguration": "development"
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"/api": {
|
||||
"target": "http://127.0.0.1:8080",
|
||||
"secure": false,
|
||||
"changeOrigin": true
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue