diff options
author | Dennis Kobert <d-kobert@web.de> | 2019-05-05 23:14:17 +0200 |
---|---|---|
committer | Dennis Kobert <d-kobert@web.de> | 2019-05-05 23:14:17 +0200 |
commit | d574650f70daa0cee15220eea305ca7eb594a746 (patch) | |
tree | 7cc46e53c0317d9e83c46d551e0543e339f6bb1f /DSACore/Startup.cs | |
parent | f563fc69cb15047051982f2e7c0364b98ee9d2da (diff) |
Revert "fixed Properties load path"
This reverts commit 6543b93a67a14ffa6f184e28b67912df7e314315.
Diffstat (limited to 'DSACore/Startup.cs')
-rw-r--r-- | DSACore/Startup.cs | 8 |
1 files changed, 2 insertions, 6 deletions
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>("/chatHub"); }); |