mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-12 04:03:42 +08:00
实现 API Key 负载均衡,修复 WebSocket session 失效问题
This commit is contained in:
@@ -17,10 +17,10 @@ module.exports = defineConfig({
|
||||
},
|
||||
|
||||
publicPath: process.env.NODE_ENV === 'production'
|
||||
? '/web'
|
||||
? '/chat'
|
||||
: '/',
|
||||
|
||||
outputDir: 'dist',
|
||||
outputDir: '../dist',
|
||||
crossorigin: "anonymous",
|
||||
devServer: {
|
||||
allowedHosts: ['127.0.0.1:5678'],
|
||||
|
||||
Reference in New Issue
Block a user