Skip to content

Commit 1a796ac

Browse files
committed
feat: 添加屏幕共享功能并更新版本至1.1.0
- 在README.md中添加屏幕共享功能说明 - 移除.env.example和QUICKSTART.md中的NODE_ENV配置 - 更新package.json和src/index.ts中的版本号至1.1.0
1 parent d5239bd commit 1a796ac

5 files changed

Lines changed: 3 additions & 13 deletions

File tree

.env.example

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,3 @@ AUTH_KEY=your-secret-auth-key-change-this
77
# 允许的跨域来源(逗号分隔)
88
# 生产环境请设置具体的域名,例如:https://your-domain.com,https://www.your-domain.com
99
ALLOWED_ORIGINS=*
10-
11-
# 运行环境
12-
NODE_ENV=production

QUICKSTART.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ docker run -d \
7373
-p 3001:3001 \
7474
-e AUTH_KEY=your-secret-key \
7575
-e ALLOWED_ORIGINS=https://your-domain.com \
76-
-e NODE_ENV=production \
7776
cyc233/watch-room-server:latest
7877

7978
# 查看日志
@@ -97,7 +96,6 @@ services:
9796
environment:
9897
- AUTH_KEY=your-secret-key
9998
- ALLOWED_ORIGINS=https://your-domain.com
100-
- NODE_ENV=production
10199
```
102100
103101
然后运行:

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
## 功能特性
1010

1111
- 🎬 多人同步观影(播放/暂停/跳转同步)
12+
- 🖥️ 屏幕共享房间(实时共享桌面/窗口)
1213
- 💬 实时聊天系统
1314
- 🎙️ 语音通话(WebRTC)
1415
- 🏠 房间管理(创建/加入/离开)
@@ -38,7 +39,6 @@ docker run -d \
3839
-p 3001:3001 \
3940
-e AUTH_KEY=your-secret-key \
4041
-e ALLOWED_ORIGINS=https://your-domain.com \
41-
-e NODE_ENV=production \
4242
cyc233/watch-room-server:latest
4343
```
4444

@@ -92,9 +92,6 @@ AUTH_KEY=your-secret-auth-key-change-this
9292
9393
# 允许的跨域来源(逗号分隔)
9494
ALLOWED_ORIGINS=https://your-domain.com,https://www.your-domain.com
95-
96-
# 运行环境
97-
NODE_ENV=production
9895
```
9996

10097
### 3. 开发模式运行
@@ -130,7 +127,6 @@ docker run -d \
130127
-p 3001:3001 \
131128
-e AUTH_KEY=your-secret-key \
132129
-e ALLOWED_ORIGINS=https://your-domain.com \
133-
-e NODE_ENV=production \
134130
cyc233/watch-room-server:latest
135131
```
136132

@@ -149,7 +145,6 @@ services:
149145
environment:
150146
- AUTH_KEY=your-secret-key
151147
- ALLOWED_ORIGINS=https://your-domain.com
152-
- NODE_ENV=production
153148
```
154149
155150
保存为 `docker-compose.yml`,然后运行:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "watch-room-server",
3-
"version": "1.0.1",
3+
"version": "1.1.0",
44
"description": "Standalone watch room server for MoonTVPlus",
55
"main": "dist/index.js",
66
"type": "module",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ app.get('/stats', (req, res) => {
6161
app.get('/', (_req, res) => {
6262
res.json({
6363
name: 'Watch Room Server',
64-
version: '1.0.0',
64+
version: '1.1.0',
6565
description: 'Standalone watch room server for MoonTVPlus',
6666
endpoints: {
6767
health: '/health',

0 commit comments

Comments
 (0)