Skip to content

Commit

Permalink
feat: ✨ local ip
Browse files Browse the repository at this point in the history
  • Loading branch information
caorushizi committed Aug 11, 2024
1 parent 3d92a5a commit df8f099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/main/src/services/VideoService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class VideoService {
});

// 直接使用Koa的listen方法启动服务器
app.listen(this.port, () => {
app.listen(this.port, this.localIp, () => {
this.logger.info("Server is running on http://localhost:3000");
});
}
Expand Down

0 comments on commit df8f099

Please sign in to comment.