Iteration 37
This commit is contained in:
1
main.cjs
1
main.cjs
@@ -99,6 +99,7 @@ function killPort3000() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
app.on('window-all-closed', () => {
|
app.on('window-all-closed', () => {
|
||||||
|
|||||||
@@ -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>
|
||||||
@@ -304,6 +304,7 @@ newChatBtn.addEventListener('click', async () => {
|
|||||||
// Создаем пустой файл и переключаемся
|
// Создаем пустой файл и переключаемся
|
||||||
await saveHistoryToServer(newId, []);
|
await saveHistoryToServer(newId, []);
|
||||||
loadHistoryFromServer(newId);
|
loadHistoryFromServer(newId);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// --- Утилиты ---
|
// --- Утилиты ---
|
||||||
|
|||||||
@@ -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; }
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -207,6 +207,7 @@ app.post('/api/chat', async (req, res) => {
|
|||||||
} finally {
|
} finally {
|
||||||
if (sequence) sequence.dispose();
|
if (sequence) sequence.dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// --- API Переименования Чата ---
|
// --- API Переименования Чата ---
|
||||||
|
|||||||
Reference in New Issue
Block a user