-
-
Notifications
You must be signed in to change notification settings - Fork 11.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
🐛 fix: fix /file/[id]
500 issue
#5812
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
👍 @arvinxx Thank you for raising your pull request and contributing to our Community |
TestGru AssignmentSummary
Tip You can |
/file/[id]
500 issue
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5812 +/- ##
=======================================
Coverage 92.15% 92.15%
=======================================
Files 648 648
Lines 58987 58987
Branches 4085 4083 -2
=======================================
Hits 54357 54357
Misses 4630 4630
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
❤️ Great PR @arvinxx ❤️ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |
### [Version 1.51.11](v1.51.10...v1.51.11) <sup>Released on **2025-02-06**</sup> #### 🐛 Bug Fixes - **misc**: Fix `/file/[id]` 500 issue. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix `/file/[id]` 500 issue, closes [#5812](#5812) ([9bb387e](9bb387e)) </details> <div align="right"> [](#readme-top) </div>
🎉 This PR is included in version 1.51.11 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### [Version 1.93.5](v1.93.4...v1.93.5) <sup>Released on **2025-02-07**</sup> #### 🐛 Bug Fixes - **misc**: Fix `/file/[id]` 500 issue, fix provider 500 issue. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix `/file/[id]` 500 issue, closes [lobehub#5812](https://github.com/bentwnghk/lobe-chat/issues/5812) ([9bb387e](9bb387e)) * **misc**: Fix provider 500 issue, closes [lobehub#5807](https://github.com/bentwnghk/lobe-chat/issues/5807) ([db860b5](db860b5)) </details> <div align="right"> [](#readme-top) </div>
* fix files 500 * improve provider 500 issue fix
### [Version 1.51.11](lobehub/lobe-chat@v1.51.10...v1.51.11) <sup>Released on **2025-02-06**</sup> #### 🐛 Bug Fixes - **misc**: Fix `/file/[id]` 500 issue. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix `/file/[id]` 500 issue, closes [lobehub#5812](lobehub#5812) ([9bb387e](lobehub@9bb387e)) </details> <div align="right"> [](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
经过
provider/[id]
、files/[id]
等多个路由检验,最终发现 500 的根因是 layout 层的force-static
。 force static 将会完全组织页面获取动态参数(cookie、headers 等),进而导致 clerk auth 或者 next-auth auth 找不到参数抛错。📝 补充信息 | Additional Information