🐛 Fixes System.NotSupportedException: WebSockets are not supported

This commit is contained in:
2025-05-01 01:22:02 +08:00
parent 84a88222bd
commit 42b5129aa4
2 changed files with 47 additions and 48 deletions

View File

@ -173,6 +173,7 @@ app.UseCors(opts =>
.AllowAnyMethod()
);
app.UseWebSockets();
app.UseRateLimiter();
app.UseHttpsRedirection();
app.UseAuthorization();