Major cleanup and refactoring of the backend (frontend not fully updated).

This commit is contained in:
2025-08-02 00:32:27 +00:00
parent f86406b4d4
commit 9b82f77729
16 changed files with 451 additions and 920 deletions
+2 -2
View File
@@ -46,7 +46,7 @@ const copyLink = async (event) => {
onMounted(async () => {
try {
const response = await fetch('/auth/create-device-link', { method: 'POST' })
const response = await fetch('/auth/create-link', { method: 'POST' })
const result = await response.json()
if (result.error) throw new Error(result.error)
@@ -63,7 +63,7 @@ onMounted(async () => {
})
}
} catch (error) {
console.error('Failed to fetch device link:', error)
console.error('Failed to create link:', error)
}
})
</script>