diff --git a/striker-ui/env.development b/striker-ui/.env similarity index 56% rename from striker-ui/env.development rename to striker-ui/.env index 5e5d3bd0..467dca8b 100644 --- a/striker-ui/env.development +++ b/striker-ui/.env @@ -1,2 +1,2 @@ # Use this to set a different origin -NEXT_PUBLIC_API_URL= +NEXT_PUBLIC_API_URL=/cgi-bin diff --git a/striker-ui/Makefile.am b/striker-ui/Makefile.am index 19ba1c63..7abf9acc 100644 --- a/striker-ui/Makefile.am +++ b/striker-ui/Makefile.am @@ -20,8 +20,6 @@ EXTRA_DIST = $(nextoutdir) out: -@echo "Install node modules (dependencies) prior to building." npm install --no-package-lock --ignore-scripts - -@echo "Generate endpoint prefix." - sed 's@=.*@=/cgi-bin@' .env.local -@echo "Build front-end project." npm run build -@echo "Stage only the build output directory."