Adjust base url for dev server (ng serve)

This commit is contained in:
phil 2024-10-24 16:33:42 +02:00
parent d2eb7f7a1d
commit 55e8f9d02d
2 changed files with 5 additions and 5 deletions

View file

@ -3,7 +3,7 @@
"version": "0.0.0",
"scripts": {
"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",
"watch": "ng build --watch --configuration development",
"test": "ng test",

View file

@ -1,17 +1,17 @@
{
"/static": {
"/treetrail/static": {
"target": "http://127.0.0.1:5002",
"secure": false
},
"/v1": {
"/treetrail/v1": {
"target": "http://127.0.0.1:5002",
"secure": false
},
"/attachment": {
"/treetrail/attachment": {
"target": "http://127.0.0.1:5002",
"secure": false
},
"/tiles": {
"/treetrail/tiles": {
"target": "http://127.0.0.1:5002",
"secure": false
}