Task #6 - create ionic proxy for local development

task_6_phase_1_note_editor
garrettmills 4 years ago
parent 31fdc2d249
commit 944185d829

1
.gitignore vendored

@ -29,3 +29,4 @@ npm-debug.log*
/platforms
/plugins
/www
target-www**

@ -74,7 +74,8 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "app:build"
"browserTarget": "app:build",
"proxyConfig": "proxy.conf.json"
},
"configurations": {
"production": {

@ -1,5 +1,6 @@
{
"name": "frontend",
"integrations": {},
"type": "angular"
"type": "angular",
"proxy": "http://localhost:8000"
}

@ -0,0 +1,8 @@
{
"/link_api": {
"target": "http://localhost:8000",
"secure": false,
"logLevel": "debug",
"pathRewrite": {"^/link_api": ""}
}
}
Loading…
Cancel
Save