TTs whisper

This commit is contained in:
2026-06-18 13:45:32 +02:00
parent 0e7fbbfdca
commit 9a23863320
57 changed files with 10430 additions and 253 deletions

View File

@@ -1,7 +1,8 @@
export default defineEventHandler(async () => {
export default defineEventHandler(async (event) => {
const baseUrl = getPiBaseUrl(event)
const config = useRuntimeConfig()
return await $fetch(`${config.quibotBaseUrl}/motor/stop`, {
return await $fetch(`${baseUrl}/motor/stop`, {
method: 'POST',
query: {
token: config.quibotToken,