aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Pin.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Pin.svelte')
-rw-r--r--src/components/Pin.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Pin.svelte b/src/components/Pin.svelte
index da0c6aeb..c8ead368 100644
--- a/src/components/Pin.svelte
+++ b/src/components/Pin.svelte
@@ -27,7 +27,7 @@
if (p?.length !== 6) return;
let result;
try {
- result = await post("/pin", { pin: hashPin(p) });
+ result = await post("/api/pin", { pin: hashPin(p) });
} catch (e) {
console.log("Pin check failed", e);
}