From 3015c9ce2bebc19e9f5bf29c6e9f9130b68b2ae9 Mon Sep 17 00:00:00 2001 From: Jonathan Bernard Date: Sat, 18 May 2019 12:26:23 -0500 Subject: [PATCH] Small change to web Makefile to allow overriding the API host port. --- web/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/Makefile b/web/Makefile index cb46e87..f374aac 100644 --- a/web/Makefile +++ b/web/Makefile @@ -1,4 +1,4 @@ -API_HOST='localhost' +API_ADDR='localhost:8080' API_LOG_LEVEL='WARN' LOG_LEVEL='TRACE' @@ -9,7 +9,7 @@ build: npm run build 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_LOG_LEVEL=${LOG_LEVEL} \ npm run serve