Compare commits

..

No commits in common. "ai-dev" and "master" have entirely different histories.

3 changed files with 1 additions and 10 deletions

5
.gitignore vendored
View File

@ -1,8 +1,3 @@
node_modules/ node_modules/
*/node_modules/ */node_modules/
*/build/ */build/
**/node_modules/
**/build/
.DS_Store
.env

View File

@ -18,10 +18,6 @@ async function encryptData(data, encryptionKeyBase64 = schema_encryption_key) {
} }
const key = base64.decode(encryptionKeyBase64); const key = base64.decode(encryptionKeyBase64);
console.log(`[DEBUG] Decoded key length (bytes): ${key ? key.length : 0}`); // Добавили эту строку
const iv = crypto.randomBytes(12); const iv = crypto.randomBytes(12);
const cipher = crypto.createCipheriv(algorithm, key, iv); const cipher = crypto.createCipheriv(algorithm, key, iv);

View File

@ -50,7 +50,7 @@ export default function Login() {
remember: true, remember: true,
}); });
const title = 'Welcome'; const title = 'Цудсщьу';
// Fetch Pexels image/video // Fetch Pexels image/video
useEffect(() => { useEffect(() => {