added proxying so hot reload can work on ng serve.
This commit is contained in:
@@ -59,7 +59,8 @@
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"browserTarget": "rock-paper-scissors:build:production"
|
||||
"browserTarget": "rock-paper-scissors:build:production",
|
||||
"proxyConfig": "src/proxy.conf.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
6
src/proxy.conf.json
Normal file
6
src/proxy.conf.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"/api": {
|
||||
"target": "http://localhost:3000/",
|
||||
"secure": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user