mirror of
https://github.com/chsakell/aspnet-core-signalr-angular.git
synced 2025-12-22 17:27:48 +00:00
minor changes
This commit is contained in:
@@ -67,14 +67,7 @@ namespace LiveGameFeed
|
||||
.AllowCredentials())
|
||||
.UseStaticFiles()
|
||||
.UseWebSockets();
|
||||
/*
|
||||
.Map("/xhrf", a => a.Run(async context =>
|
||||
{
|
||||
var tokens = antiforgery.GetAndStoreTokens(context);
|
||||
context.Response.Cookies.Append("XSRF-TOKEN", tokens.RequestToken, new CookieOptions() { HttpOnly = false });
|
||||
await context.Response.WriteAsync(tokens.RequestToken);
|
||||
}));
|
||||
*/
|
||||
|
||||
app.UseMvc(routes =>
|
||||
{
|
||||
routes.MapRoute(
|
||||
|
||||
Reference in New Issue
Block a user