Iteration 37

This commit is contained in:
Neyra
2026-02-10 20:49:59 +08:00
parent a60cc2f457
commit 399d8d00bf
5 changed files with 5 additions and 0 deletions

View File

@@ -99,6 +99,7 @@ function killPort3000() {
}); });
} }
}); });
} }
app.on('window-all-closed', () => { app.on('window-all-closed', () => {

View File

@@ -78,5 +78,6 @@
<audio id="msg-sound" src="/sound/message.mp3" preload="auto"></audio> <audio id="msg-sound" src="/sound/message.mp3" preload="auto"></audio>
<script src="script.js"></script> <script src="script.js"></script>
</body> </body>
</html> </html>

View File

@@ -304,6 +304,7 @@ newChatBtn.addEventListener('click', async () => {
// Создаем пустой файл и переключаемся // Создаем пустой файл и переключаемся
await saveHistoryToServer(newId, []); await saveHistoryToServer(newId, []);
loadHistoryFromServer(newId); loadHistoryFromServer(newId);
}); });
// --- Утилиты --- // --- Утилиты ---

View File

@@ -311,4 +311,5 @@ body {
@keyframes bounce { @keyframes bounce {
0%, 80%, 100% { transform: scale(0); opacity: 0.5; } 0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
40% { transform: scale(1); opacity: 1; } 40% { transform: scale(1); opacity: 1; }
} }

View File

@@ -207,6 +207,7 @@ app.post('/api/chat', async (req, res) => {
} finally { } finally {
if (sequence) sequence.dispose(); if (sequence) sequence.dispose();
} }
}); });
// --- API Переименования Чата --- // --- API Переименования Чата ---