Skip to content

Commit 0c6dbdf

Browse files
committed
const { TextDecoder } = require('util');
1 parent c4e8910 commit 0c6dbdf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ WORKDIR /app
77
# 将应用程序文件复制到容器中
88
COPY . .
99

10-
EXPOSE 3000
10+
# EXPOSE 3000
1111

1212
# 安装应用程序的依赖
1313
RUN npm install

app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
const net=require('net');
22
const {WebSocket,createWebSocketStream}=require('ws');
3+
const { TextDecoder } = require('util');
34
const logcb= (...args)=>console.log.bind(this,...args);
45
const errcb= (...args)=>console.error.bind(this,...args);
56

0 commit comments

Comments
 (0)