feat: Update dependencies and add new voice

- Updates project dependencies to latest versions for improved performance and security.
- Adds a new voice option, 'Aoede', to the available voices.
- Modifies the voice change handler to force re-generation of future audio segments for the selected article.
- Updates Vite configuration to align with newer Vite versions and load environment variables correctly.
- Adjusts TypeScript configuration for a more modern setup.
- Removes unnecessary configuration from Nginx file.
This commit is contained in:
Anthony
2025-11-19 20:46:02 +08:00
parent 0b10d71554
commit 43435166f8
9 changed files with 80 additions and 55 deletions

View File

@@ -20,15 +20,17 @@
border-radius: 3px;
}
</style>
<script type="importmap">
<script type="importmap">
{
"imports": {
"react-dom/": "https://aistudiocdn.com/react-dom@^19.2.0/",
"lucide-react": "https://aistudiocdn.com/lucide-react@^0.554.0",
"@google/genai": "https://aistudiocdn.com/@google/genai@^1.30.0",
"react": "https://aistudiocdn.com/react@^19.2.0",
"react/": "https://aistudiocdn.com/react@^19.2.0/",
"react-dom/": "https://aistudiocdn.com/react-dom@^19.2.0/",
"uuid": "https://aistudiocdn.com/uuid@^13.0.0"
"uuid": "https://aistudiocdn.com/uuid@^13.0.0",
"@vitejs/plugin-react": "https://aistudiocdn.com/@vitejs/plugin-react@^5.1.1",
"vite": "https://aistudiocdn.com/vite@^7.2.2"
}
}
</script>