babaohuang / GeminiProChat

Minimal web UI for GeminiPro.
https://geminiprochat.com
MIT License
4.26k stars 12.34k forks source link

fix:failed to load messageList #51

Closed stefan-ysh closed 8 months ago

stefan-ysh commented 8 months ago

Description

Failure to load historical session data(messageList) when the page is opened

Linked Issues

21

Additional context

Because the storage mode is sessionStorage, it is a session-level cache, which will be empty when the page is closed, so the history of the messages is empty when the page is reopened. Now I changed the storage mode to localStorage, it can be stored permanently until you delete it manually.

netlify[bot] commented 8 months ago

Deploy request for clinquant-rugelach-6e6c15 pending review.

Visit the deploys page to approve it

Name Link
Latest commit ce69efac27f5a2a5dadb962351d2036d774ddf10
netlify[bot] commented 8 months ago

Deploy request for heroic-yeot-d77ce3 pending review.

Visit the deploys page to approve it

Name Link
Latest commit ce69efac27f5a2a5dadb962351d2036d774ddf10
vercel[bot] commented 8 months ago

@stefan-ysh is attempting to deploy a commit to the My Team Team on Vercel.

A member of the Team first needs to authorize it.