refactor(update-backend): streamline .env file handling process
Some checks failed
Deploy to production / deploy (push) Failing after 1m58s

- Replaced the previous method of copying .env files with a direct installation from a specified source path.
- Improved permissions and ownership settings for the .env file to enhance security.
- Added user feedback for successful file transfer and verification steps.
This commit is contained in:
Torsten Schulz (local)
2026-03-30 16:19:00 +02:00
parent 4ebff4dc17
commit ca33a29317
5 changed files with 18 additions and 23 deletions

View File

@@ -1933,6 +1933,8 @@ export default class VocabService {
if (correctIndices.length === 0) return false;
const options = Array.isArray(parsedQuestionData?.options) ? parsedQuestionData.options : [];
const correctTexts = correctIndices
.map((i) => options[i])
.filter((opt) => opt !== undefined && opt !== null);