minor changes

This commit is contained in:
chsakell
2016-10-07 15:01:28 +03:00
parent b5144cc517
commit 149e093f16
3 changed files with 7 additions and 23 deletions

View File

@@ -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(