mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-14 03:30:19 +00:00
🔨 chore: fix oidc provider proxy issue with host deployment (#7430)
* set provider proxy to true * try to fix * fix
This commit is contained in:
+5
-1
@@ -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 [
|
||||
|
||||
Reference in New Issue
Block a user