diff --git a/main.cjs b/main.cjs index 5894957..26193a6 100644 --- a/main.cjs +++ b/main.cjs @@ -99,6 +99,7 @@ function killPort3000() { }); } }); + } app.on('window-all-closed', () => { diff --git a/public/index.html b/public/index.html index 0f9a1e7..daaf16d 100644 --- a/public/index.html +++ b/public/index.html @@ -78,5 +78,6 @@ + \ No newline at end of file diff --git a/public/script.js b/public/script.js index 07438a0..29c58d0 100644 --- a/public/script.js +++ b/public/script.js @@ -304,6 +304,7 @@ newChatBtn.addEventListener('click', async () => { // Создаем пустой файл и переключаемся await saveHistoryToServer(newId, []); loadHistoryFromServer(newId); + }); // --- Утилиты --- diff --git a/public/style.css b/public/style.css index 4c0ecf8..20b9760 100644 --- a/public/style.css +++ b/public/style.css @@ -311,4 +311,5 @@ body { @keyframes bounce { 0%, 80%, 100% { transform: scale(0); opacity: 0.5; } 40% { transform: scale(1); opacity: 1; } + } \ No newline at end of file diff --git a/server/server.js b/server/server.js index a1363e0..c826d73 100644 --- a/server/server.js +++ b/server/server.js @@ -207,6 +207,7 @@ app.post('/api/chat', async (req, res) => { } finally { if (sequence) sequence.dispose(); } + }); // --- API Переименования Чата ---