Allow unauthorized users to search and spectate.

This commit is contained in:
2024-11-03 15:53:13 -06:00
parent 8a415a6c9d
commit 0a62eb7582
12 changed files with 72 additions and 74 deletions

View File

@@ -56,7 +56,7 @@ app.UseCors(policy =>
policy.WithOrigins(allowedOrigins).AllowAnyHeader().AllowAnyMethod().AllowCredentials();
});
app.MapHub<GameHub>("/gamehub").RequireAuthorization();
app.MapHub<GameHub>("/gamehub");
app.Run();