Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] 本地聊天记录迁移 #3736

Open
QAbot-zh opened this issue Jan 2, 2024 · 3 comments
Open

[Feature] 本地聊天记录迁移 #3736

QAbot-zh opened this issue Jan 2, 2024 · 3 comments

Comments

@QAbot-zh
Copy link

QAbot-zh commented Jan 2, 2024

网页版本地聊天记录是以什么形式保存的,有没有可能提供一种方式,可以实现本地跨域名迁移(不涉及云、不涉及跨设备和跨浏览器,单纯同一个电脑同一个浏览器同一个部署服务,只是域名不同)?
应用场景:同一个部署网页,域名挂了,更换域名之后,原域名网页聊天记录就无法同步/迁移过来,有点可惜。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Feature] Local chat record migration

In what form are the web version of chat records saved? Is it possible to provide a way to achieve local cross-domain migration (no cloud, no cross-device and cross-browser involved, just the same computer, the same browser, the same Deploy the service, but the domain name is different)?
Application scenario: For the same deployed web page, the domain name is down. After changing the domain name, the chat records of the original domain name web page cannot be synchronized/migrated, which is a pity.

@walterclozet
Copy link

try sync to webdav then sync it back.

@jokester
Copy link

网页版本地聊天记录是以什么形式保存的 chat records saved

In browser's localStorage, as a JSON string.

It should be able to export from localStorage of the previous domain, and import into localStorage of a different domain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants