summaryrefslogtreecommitdiffhomepage
path: root/example/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'example/index.ts')
-rw-r--r--example/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/index.ts b/example/index.ts
index 3adc926..35f5d93 100644
--- a/example/index.ts
+++ b/example/index.ts
@@ -213,7 +213,7 @@ app.get('/generate-authentication-options', (req, res) => {
allowCredentials: user.devices.map(dev => ({
id: dev.credentialID,
type: 'public-key',
- transports: dev.transports ?? ['usb', 'ble', 'nfc', 'internal'],
+ transports: dev.transports,
})),
userVerification: 'required',
rpID,