修复toekn权限和语音聊天功能
This commit is contained in:
parent
d0d399e168
commit
1434a9cf05
@ -1,16 +1,15 @@
|
||||
# Production Environment Variables for AI Pet Companion Frontend
|
||||
# 用于生产环境部署
|
||||
|
||||
# API Configuration - 生产环境API地址
|
||||
VITE_API_BASE_URL=https://api.wentuu.com/api
|
||||
# API Configuration - 生产环境API地址(nginx 反向代理,使用相对路径)
|
||||
VITE_API_BASE_URL=/api
|
||||
VITE_API_VERSION=v1
|
||||
VITE_REQUEST_TIMEOUT=30000
|
||||
|
||||
# WebSocket Configuration - 生产环境WebSocket地址
|
||||
VITE_WS_URL=wss://wentuu.com
|
||||
# WebSocket Configuration - 生产环境WebSocket地址(nginx 反向代理,留空自动使用当前域名)
|
||||
VITE_WS_URL=
|
||||
|
||||
# Production Settings - 生产环境设置
|
||||
VITE_PROXY_TARGET=https://api.wentuu.com
|
||||
VITE_SERVER_PORT=3000
|
||||
|
||||
# Application Settings - 应用设置
|
||||
|
||||
@ -81,7 +81,7 @@ export default defineConfig({
|
||||
outDir: 'dist',
|
||||
assetsDir: 'assets',
|
||||
sourcemap: false,
|
||||
minify: 'terser',
|
||||
minify: 'esbuild',
|
||||
chunkSizeWarningLimit: 1200,
|
||||
rollupOptions: {
|
||||
output: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user