From d574650f70daa0cee15220eea305ca7eb594a746 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Sun, 5 May 2019 23:14:17 +0200 Subject: Revert "fixed Properties load path" This reverts commit 6543b93a67a14ffa6f184e28b67912df7e314315. --- DSACore/Startup.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'DSACore/Startup.cs') diff --git a/DSACore/Startup.cs b/DSACore/Startup.cs index ae86824..f8f6dfd 100644 --- a/DSACore/Startup.cs +++ b/DSACore/Startup.cs @@ -45,11 +45,7 @@ namespace DSACore */ services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1); - services.AddSignalR(hubOptions => - { - hubOptions.EnableDetailedErrors = true; - hubOptions.KeepAliveInterval = TimeSpan.FromMinutes(1); - }); + services.AddSignalR(); } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. @@ -64,7 +60,7 @@ namespace DSACore app.UseHsts(); } - //app.UseCors("CorsPolicy"); + app.UseCors("CorsPolicy"); app.UseSignalR(routes => { routes.MapHub("/chatHub"); }); -- cgit v1.2.3-54-g00ecf