build(striker-ui): add default API URL in .env

This commit is contained in:
Tsu-ba-me 2021-06-08 12:14:49 -04:00
parent d0048ae235
commit 9fc2facf35
2 changed files with 1 additions and 3 deletions

View File

@ -1,2 +1,2 @@
# Use this to set a different origin # Use this to set a different origin
NEXT_PUBLIC_API_URL= NEXT_PUBLIC_API_URL=/cgi-bin

View File

@ -20,8 +20,6 @@ EXTRA_DIST = $(nextoutdir)
out: out:
-@echo "Install node modules (dependencies) prior to building." -@echo "Install node modules (dependencies) prior to building."
npm install --no-package-lock --ignore-scripts npm install --no-package-lock --ignore-scripts
-@echo "Generate endpoint prefix."
sed 's@=.*@=/cgi-bin@' <env.development >.env.local
-@echo "Build front-end project." -@echo "Build front-end project."
npm run build npm run build
-@echo "Stage only the build output directory." -@echo "Stage only the build output directory."