TTs whisper
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user