Skip to content

Commit

Permalink
chore(vite): add web update notice
Browse files Browse the repository at this point in the history
  • Loading branch information
haxgun committed Dec 3, 2024
1 parent ca35521 commit e77eeb8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion frontend/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,13 @@ export default defineConfig({
],
}),
webUpdateNotice({
hiddenDefaultNotification: true,
notificationProps: {
title: 'New version',
description: 'An update available, please refresh the page to get latest features and bug fixes!',
buttonText: 'refresh',
dismissButtonText: 'cancel',
},
checkInterval: 1 * 60 * 1000,
}),
],
clearScreen: false,
Expand Down

0 comments on commit e77eeb8

Please sign in to comment.