-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
♻️ refactor: Remove proxy url settings for NextAuth #4826
Conversation
@cy948 is attempting to deploy a commit to the LobeChat Community Team on Vercel. A member of the Team first needs to authorize it. |
👍 @cy948 Thank you for raising your pull request and contributing to our Community |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4826 +/- ##
==========================================
+ Coverage 91.53% 91.62% +0.08%
==========================================
Files 538 538
Lines 37818 38202 +384
Branches 3500 3509 +9
==========================================
+ Hits 34618 35001 +383
- Misses 3200 3201 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
这个去掉就能解决之前很多报错问题了吗? |
Will removing this solve many of the previous error problems? |
是指哪个报错的issue呢? 这个去掉之后就不会弹redundant url 的 warning。 |
Which issue does the error report refer to? After removing this, the redundant url warning will no longer appear. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@cy948 构建报错,eslint 跑一下 ./src/libs/next-auth/auth.config.ts |
👌 |
❤️ Great PR @cy948 ❤️ 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.36.1](v1.36.0...v1.36.1) <sup>Released on **2024-12-07**</sup> #### ♻ Code Refactoring - **misc**: Remove proxy url settings for NextAuth. #### 💄 Styles - **misc**: Add gemini-exp-1206 model. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Remove proxy url settings for NextAuth, closes [#4826](#4826) ([a502c17](a502c17)) #### Styles * **misc**: Add gemini-exp-1206 model, closes [#4909](#4909) ([9ff2c03](9ff2c03)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
🎉 This PR is included in version 1.36.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### [Version 1.78.1](v1.78.0...v1.78.1) <sup>Released on **2024-12-07**</sup> #### ♻ Code Refactoring - **misc**: Refactor async params route to adapt next15 breaking change, Remove proxy url settings for NextAuth. #### 💄 Styles - **misc**: Add gemini-exp-1206 model. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Refactor async params route to adapt next15 breaking change, closes [lobehub#4905](https://github.com/bentwnghk/lobe-chat/issues/4905) ([5d61950](5d61950)) * **misc**: Remove proxy url settings for NextAuth, closes [lobehub#4826](https://github.com/bentwnghk/lobe-chat/issues/4826) ([a502c17](a502c17)) #### Styles * **misc**: Add gemini-exp-1206 model, closes [lobehub#4909](https://github.com/bentwnghk/lobe-chat/issues/4909) ([9ff2c03](9ff2c03)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
src/libs/next-auth/auth.config.ts
:APP_URL
设定redirectProxyUrl
NEXT_AUTH_DEBUG
📝 补充信息 | Additional Information
AUTH_URL
,因为AUTH_URL
影响前端 next-auth 组件请求 auth session, login, logout 等api接口,同时影响 redirect 时的 auth 服务地址。AUTH_URL
的功能,同时会触发 warning。