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 /platforms
/plugins /plugins
/www /www
target-www**

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

@ -1,5 +1,6 @@
{ {
"name": "frontend", "name": "frontend",
"integrations": {}, "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