Iteration 37
This commit is contained in:
1
main.cjs
1
main.cjs
@@ -99,6 +99,7 @@ function killPort3000() {
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
app.on('window-all-closed', () => {
|
||||
|
||||
@@ -78,5 +78,6 @@
|
||||
|
||||
<audio id="msg-sound" src="/sound/message.mp3" preload="auto"></audio>
|
||||
<script src="script.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -304,6 +304,7 @@ newChatBtn.addEventListener('click', async () => {
|
||||
// Создаем пустой файл и переключаемся
|
||||
await saveHistoryToServer(newId, []);
|
||||
loadHistoryFromServer(newId);
|
||||
|
||||
});
|
||||
|
||||
// --- Утилиты ---
|
||||
|
||||
@@ -311,4 +311,5 @@ body {
|
||||
@keyframes bounce {
|
||||
0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
|
||||
40% { transform: scale(1); opacity: 1; }
|
||||
|
||||
}
|
||||
@@ -207,6 +207,7 @@ app.post('/api/chat', async (req, res) => {
|
||||
} finally {
|
||||
if (sequence) sequence.dispose();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
// --- API Переименования Чата ---
|
||||
|
||||
Reference in New Issue
Block a user