aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Pin.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-03 22:45:50 -0800
committerAdam Soltys <[email protected]>2026-03-03 22:45:50 -0800
commit1e9ed8fa128ec5ae038be14ef168cad37c1c0eb1 (patch)
tree29399a82df3f981a24ef6cc84562c8ee006738d7 /src/components/Pin.svelte
parente66a08d18f2bef2eccfe84042a2674141a73d1c2 (diff)
downloadcoinos-ui-1e9ed8fa128ec5ae038be14ef168cad37c1c0eb1.tar.gz
coinos-ui-1e9ed8fa128ec5ae038be14ef168cad37c1c0eb1.zip
api proxy
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);
}