Migration fixes

This commit is contained in:
2019-07-31 20:18:10 -04:00
parent 4a07c75cae
commit 561ba17048
2 changed files with 10 additions and 0 deletions

View File

@@ -23,9 +23,12 @@ namespace ChrisKaczor.HomeMonitor.Hub.Service
applicationBuilder.UseDeveloperExceptionPage();
}
applicationBuilder.UseRouting();
applicationBuilder.UseEndpoints(endpoints =>
{
endpoints.MapHub<WeatherHub>("/weatherHub");
endpoints.MapDefaultControllerRoute();
});
}
}