diff --git a/ct/profilarr.sh b/ct/profilarr.sh index e8b05ee..989b2cb 100644 --- a/ct/profilarr.sh +++ b/ct/profilarr.sh @@ -107,6 +107,8 @@ function update_script() { cd /opt/${APP}/frontend || exit npm install npm run build + # Ensure the static directory exists before copying + mkdir -p /opt/${APP}/backend/app/static/ cp -r dist/* /opt/${APP}/backend/app/static/ msg_ok "Built Frontend"