fix gui keepGUIAlive
This commit is contained in:
parent
627ddef06a
commit
cce15c9506
@ -177,13 +177,9 @@ export function keepGUIAlive() {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!process.env.NODE_ENV || process.env.NODE_ENV === 'production') {
|
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
|
||||||
const intervalRequest = 3 * 1000
|
const intervalRequest = 3 * 1000
|
||||||
keepAliveServer()
|
keepAliveServer()
|
||||||
setInterval(keepAliveServer, intervalRequest)
|
setInterval(keepAliveServer, intervalRequest)
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function isRightClick(ev: SyntheticEvent) {
|
export function isRightClick(ev: SyntheticEvent) {
|
||||||
|
Loading…
Reference in New Issue
Block a user