forked from philorg/treetrail-frontend
Adjust base url for dev server (ng serve)
This commit is contained in:
parent
d2eb7f7a1d
commit
55e8f9d02d
2 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,7 @@
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
"start": "ng serve --proxy-config proxy.conf.json --port 4201",
|
"start": "ng serve --proxy-config proxy.conf.json --port 4201 --serve-path /treetrail",
|
||||||
"build": "ng build",
|
"build": "ng build",
|
||||||
"watch": "ng build --watch --configuration development",
|
"watch": "ng build --watch --configuration development",
|
||||||
"test": "ng test",
|
"test": "ng test",
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
{
|
{
|
||||||
"/static": {
|
"/treetrail/static": {
|
||||||
"target": "http://127.0.0.1:5002",
|
"target": "http://127.0.0.1:5002",
|
||||||
"secure": false
|
"secure": false
|
||||||
},
|
},
|
||||||
"/v1": {
|
"/treetrail/v1": {
|
||||||
"target": "http://127.0.0.1:5002",
|
"target": "http://127.0.0.1:5002",
|
||||||
"secure": false
|
"secure": false
|
||||||
},
|
},
|
||||||
"/attachment": {
|
"/treetrail/attachment": {
|
||||||
"target": "http://127.0.0.1:5002",
|
"target": "http://127.0.0.1:5002",
|
||||||
"secure": false
|
"secure": false
|
||||||
},
|
},
|
||||||
"/tiles": {
|
"/treetrail/tiles": {
|
||||||
"target": "http://127.0.0.1:5002",
|
"target": "http://127.0.0.1:5002",
|
||||||
"secure": false
|
"secure": false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue