Small change to web Makefile to allow overriding the API host port.
This commit is contained in:
parent
8114136bbd
commit
3015c9ce2b
@ -1,4 +1,4 @@
|
|||||||
API_HOST='localhost'
|
API_ADDR='localhost:8080'
|
||||||
API_LOG_LEVEL='WARN'
|
API_LOG_LEVEL='WARN'
|
||||||
LOG_LEVEL='TRACE'
|
LOG_LEVEL='TRACE'
|
||||||
|
|
||||||
@ -9,7 +9,7 @@ build:
|
|||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
serve:
|
serve:
|
||||||
VUE_APP_PM_API_BASE=http://${API_HOST}:8080/api \
|
VUE_APP_PM_API_BASE=/api \
|
||||||
VUE_APP_API_LOG_LEVEL=${API_LOG_LEVEL} \
|
VUE_APP_API_LOG_LEVEL=${API_LOG_LEVEL} \
|
||||||
VUE_APP_LOG_LEVEL=${LOG_LEVEL} \
|
VUE_APP_LOG_LEVEL=${LOG_LEVEL} \
|
||||||
npm run serve
|
npm run serve
|
||||||
|
Loading…
x
Reference in New Issue
Block a user