This commit is contained in:
Jamie Curnow 2023-07-20 16:25:08 +10:00
parent 042a74cc21
commit 3df8e74bc8
No known key found for this signature in database
GPG Key ID: FFBB624C43388E9E

View File

@ -42,7 +42,7 @@ echo -e "${BLUE} ${GREEN}Building Frontend Complete${RESET}"
# to avoid CRA ejection, just copy these build files over to embed in the backend
rm -rf ${BACKEND_ASSETS}
cp -pr frontend/build "${BACKEND_ASSETS}"
cp -pr frontend/dist "${BACKEND_ASSETS}"
echo -e "${BLUE} ${GREEN}Copied build to ${BACKEND_ASSETS}${RESET}"
rm -rf frontend/node_modules