Major cleanup and refactoring of the backend (frontend not fully updated).
This commit is contained in:
1 parent
f86406b4d4
commit
9b82f77729
16 files changed
+451
-920
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user