🐛 Fix bugs

This commit is contained in:
2025-09-21 02:00:57 +08:00
parent 001da9ae40
commit f63c934cee

View File

@@ -18,15 +18,6 @@ public static class ApplicationConfiguration
app.ConfigureForwardedHeaders(configuration);
app.UseCors(opts =>
opts.SetIsOriginAllowed(_ => true)
.WithExposedHeaders("*")
.WithHeaders("*")
.AllowCredentials()
.AllowAnyHeader()
.AllowAnyMethod()
);
app.UseWebSockets();
app.UseRateLimiter();
app.UseAuthentication();