We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9926f9 commit 24f3106Copy full SHA for 24f3106
apps/explorer/src/routes/api/webauthn/$.ts
@@ -5,16 +5,11 @@ import { Handler, Kv } from 'tempo.ts/server'
5
export const Route = createFileRoute('/api/webauthn/$')({
6
server: {
7
handlers: {
8
- GET: ({ request }) => {
9
- const url = new URL(request.url)
10
- const path = url.pathname
11
-
12
- console.info('webauthn request', path)
13
- return Handler.keyManager({
+ GET: ({ request }) =>
+ Handler.keyManager({
14
path: '/api/webauthn',
15
kv: Kv.cloudflare(env.EXPLORER_PASSKEY_STORE),
16
- }).fetch(request)
17
- },
+ }).fetch(request),
18
},
19
20
})
0 commit comments