diff --git a/chat2db-client/.umirc.ts b/chat2db-client/.umirc.ts index ee096af5f..5e331ae96 100644 --- a/chat2db-client/.umirc.ts +++ b/chat2db-client/.umirc.ts @@ -79,9 +79,9 @@ export default defineConfig({ // }], links: [{ rel: 'icon', type: 'image/ico', sizes: '32x32', href: '/static/front/logo.ico' }], headScripts: [ - `if (localStorage.getItem('app-local-storage-versions') !== 'v3') { + `if (localStorage.getItem('app-local-storage-versions') !== 'v4') { localStorage.clear(); - localStorage.setItem('app-local-storage-versions', 'v3'); + localStorage.setItem('app-local-storage-versions', 'v4'); }`, `if (window.electronApi) { window.electronApi.startServerForSpawn() }`, // `if ("serviceWorker" in navigator) { diff --git a/chat2db-client/src/assets/font/demo_index.html b/chat2db-client/src/assets/font/demo_index.html index 5b0025b30..2fc44bb84 100644 --- a/chat2db-client/src/assets/font/demo_index.html +++ b/chat2db-client/src/assets/font/demo_index.html @@ -54,6 +54,24 @@