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

This commit is contained in:
Leo Vasanko
2025-08-01 12:32:27 -06:00
parent 0cfa622bf1
commit c5e5fe23e3
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>