forked from LucklySpace/Lucky-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.development
More file actions
82 lines (55 loc) · 1.72 KB
/
.env.development
File metadata and controls
82 lines (55 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# 开发环境配置
ENV = development
# 开发环境自定义的环境变量(命名必须以 VITE_ 开头)
## 后端接口公共路径(如果解决跨域问题采用反向代理就只需写公共路径)
VITE_BASE_API=/api
## 后端接口地址
VITE_API_SERVER=http://localhost:9191
## websocket 接口地址
VITE_API_SERVER_WS=ws://localhost:9191/im
## websocket 接口地址
VITE_API_MEET_SERVER_WS=ws://localhost:9191/meet
## webRTC 推拉流地址
VITE_API_SERVER_WEBRTC=webRTC://localhost/live/
## srs 服务器地址
VITE_API_SERVER_SRS=http://localhost:1985/rtc/v1
## websocket 连接序列化协议 json | proto
VITE_API_PROTOCOL_TYPE=proto
## 心跳间隔时间
VITE_API_SERVER_HEARTBEAT=25000
## 消息可撤回时间
VITE_MESSAGE_RECALL_TIME=120000
## 设备类型
VITE_DEVICE_TYPE=desktop
## 路由模式 hash 或 html5
# VITE_ROUTER_HISTORY=hash
## 开发环境地址前缀(一般 /,./ 都可以)
VITE_PUBLIC_PATH=/
## 应用名称
VITE_APP_NAME=Lucky
## 应用描述
VITE_APP_DESCRIPTION=即时通讯
## 应用图标
VITE_APP_ICON=./assets/logo.png
## 应用版权
VITE_APP_COPYRIGHT=© 2023 im. All rights reserved.
## 设备类型
VITE_APP_EQUIPMENT_TYPE=pc
## tauri store名称
VITE_APP_STORE=./store/im_store.bin
## 数据库文件名
VITE_APP_DATABASE=sqlite:im_db.db
## 索引库文件名
VITE_APP_DATABASE_INDEX=sqlite:im_index.db
## 列表刷新时间,单位毫秒
VITE_APP_LIST_REFRESH_TIME=10000
## 声音文件路径
VITE_APP_AUDIT_FILE=./assets/audio/
## 图像文件预览放大倍率
VITE_APP_PREVIEW_IMAGE_ZOOMIN=5
## 图像文件预览缩小倍率
VITE_APP_PREVIEW_IMAGE_ZOOMOUT=0.2
## 图像文件预览步进
VITE_APP_PREVIEW_IMAGE_STEP=0.1
## 是否开启水印
VITE_API_WATERMARK=false