update: README.md

This commit is contained in:
2025-08-09 23:56:21 +08:00
parent 51c1218a93
commit fca7d5bb58
2 changed files with 6 additions and 5 deletions

View File

@ -27,7 +27,7 @@ app.UseHttpsRedirection();
app.UseWebSockets(new WebSocketOptions
{
KeepAliveInterval = TimeSpan.FromMinutes(2),
AllowedOrigins = { "*" } // 生产环境中设置具体的允许来源
AllowedOrigins = { "*" } // 生产环境中建议设置具体的允许来源
});
// 使用自定义WebSocket中间件