修改cdn地址,增加重启服务延迟

This commit is contained in:
whyour
2022-01-20 19:02:29 +08:00
parent 8c0685202e
commit a2650715b3
3 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -172,7 +172,7 @@ const CheckUpdate = ({ socketMessage }: any) => {
<Countdown
className="inline-countdown"
format="ss"
value={Date.now() + 1000 * 10}
value={Date.now() + 1000 * 30}
/>
</span>
@@ -181,7 +181,7 @@ const CheckUpdate = ({ socketMessage }: any) => {
});
setTimeout(() => {
window.location.reload();
}, 10000);
}, 30000);
}
}, [socketMessage]);