Frontend test
All checks were successful
Build / build-backend (push) Successful in 3s
Build / build-web (push) Successful in 12s
Build / release (push) Successful in 5s

This commit is contained in:
2026-04-22 12:45:29 +02:00
parent f1c530e5b1
commit 28457eb200
6 changed files with 148 additions and 25 deletions

View File

@@ -0,0 +1,10 @@
export default defineEventHandler(async () => {
const config = useRuntimeConfig()
return await $fetch(`${config.quibotBaseUrl}/motor/step`, {
method: 'POST',
query: {
token: config.quibotToken,
},
})
})

View File

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