health-relay-server 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.env.example ADDED
@@ -0,0 +1,20 @@
1
+ # 环境配置示例
2
+ # 复制此文件为 .env 并修改相应值
3
+
4
+ # 服务端口
5
+ PORT=5201
6
+
7
+ # 访问密钥(多个用逗号分隔)
8
+ ACCESS_CODES=health-secret-code-2024
9
+
10
+ # 日志级别: debug | info | warn | error
11
+ LOG_LEVEL=info
12
+
13
+ # 最大连接数
14
+ MAX_CONNECTIONS=100
15
+
16
+ # 心跳间隔(毫秒)
17
+ PING_INTERVAL=30000
18
+
19
+ # 心跳超时(毫秒)
20
+ PING_TIMEOUT=60000