ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Bug] ios导入大备份json文件失败,以及临时解决方法

Open
#4,533 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### Bug Description

同步了目前最新的代码部署后

从windows11 chrome导出,接着导入ios 17 的chrome的时候,报【导入失败】
我查看了 json,没有发现什么异常

导出的文件大小 3112 KB,(看起来没有超过localStorage 5MB的限制)

失败后,有个报错界面显示:
quotaexceedederror: the quota has been exceeded.
后面一堆 堆栈

基本确定是 ios 的浏览器的问题,桌面端的firefox,chrome导入这个文件都没问题

### Steps to Reproduce

导出大的备份文件,比如 > 5M
在 ios chrome导入这个json文件

导入失败,提示 quotaexceedederror: the quota has been exceeded.

### Expected Behavior

应该导入成功

### Screenshots

_No response_

### Deployment Method

- [ ] Docker
- [x] Vercel
- [ ] Server

### Desktop OS

_No response_

### Desktop Browser

_No response_

### Desktop Browser Version

_No response_

### Smartphone Device

_No response_

### Smartphone OS

_No response_

### Smartphone Browser

_No response_

### Smartphone Browser Version

_No response_

### Additional Logs

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.