Skip to content

Commit bd508b1

Browse files
committed
Update lib/web/middleware/checkVersion.js
Signed-off-by: BoHong Li <raccoon@hackmd.io>
1 parent b49a4e2 commit bd508b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/middleware/checkVersion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ async function checkVersion (ctx) {
3131
url: `${VERSION_CHECK_ENDPOINT}?v=${config.version}`,
3232
method: 'GET',
3333
json: true,
34-
timeout: 1000
34+
timeout: 3000
3535
})
3636

3737
if (statusCode !== 200 || data.status === 'error') {

0 commit comments

Comments
 (0)