Allow unauthorized users to search and spectate.
This commit is contained in:
@@ -56,7 +56,7 @@ app.UseCors(policy =>
|
||||
policy.WithOrigins(allowedOrigins).AllowAnyHeader().AllowAnyMethod().AllowCredentials();
|
||||
});
|
||||
|
||||
app.MapHub<GameHub>("/gamehub").RequireAuthorization();
|
||||
app.MapHub<GameHub>("/gamehub");
|
||||
|
||||
app.Run();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user