mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-28 11:06:05 +00:00
after upgrading show alert to notify user to clear old cache by hard refresh Signed-off-by: Pranav C <pranavxc@gmail.com>
19 lines
449 B
HTML
19 lines
449 B
HTML
<!DOCTYPE html>
|
|
<html {{ HTML_ATTRS }}>
|
|
<head {{ HEAD_ATTRS }}>
|
|
{{ HEAD }}
|
|
</head>
|
|
<body {{ BODY_ATTRS }}>
|
|
{{ APP }}
|
|
</body>
|
|
<script>
|
|
setTimeout(() => {
|
|
if (document.getElementById('nuxt-loading')) {
|
|
if (!(window.$nuxt && window.$nuxt._isDev) ) {
|
|
alert('If you upgraded NocoDB, please do a hard refresh. \r\n\r\nMac users do : cmd + shift + r \r\nOther users do : ctrl + shift + r')
|
|
}
|
|
}
|
|
}, 16000)
|
|
</script>
|
|
</html>
|