🔨 chore: fix oidc provider proxy issue with host deployment (#7430)

* set provider proxy to true

* try to fix

* fix
This commit is contained in:
Arvin Xu
2025-04-16 15:41:00 +08:00
committed by GitHub
parent bb25d542bc
commit 4006721bff
3 changed files with 11 additions and 7 deletions
+5 -1
View File
@@ -33,8 +33,12 @@ const nextConfig: NextConfig = {
'@lobehub/ui',
'gpt-tokenizer',
],
// oidc provider depend on constructor.name
// but swc minification will remove the name
// so we need to disable it
// refs: https://github.com/lobehub/lobe-chat/pull/7430
serverMinification: false,
webVitalsAttribution: ['CLS', 'LCP'],
webpackMemoryOptimizations: true,
},
async headers() {
return [