Skip to content

Commit 966563e

Browse files
authored
docs(updater): fix timeout example (tauri-apps#2980)
1 parent c577f84 commit 966563e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/plugin/updater.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ import { check } from '@tauri-apps/plugin-updater';
582582

583583
const update = await check({
584584
proxy: '<proxy url>',
585-
timeout: 30 /* seconds */,
585+
timeout: 30000 /* milliseconds */,
586586
headers: {
587587
Authorization: 'Bearer <token>',
588588
},

0 commit comments

Comments
 (0)