mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-02-16 10:58:32 -05:00
Add power hub
This commit is contained in:
@@ -32,6 +32,7 @@ namespace ChrisKaczor.HomeMonitor.Hub.Service
|
||||
applicationBuilder.UseEndpoints(endpoints =>
|
||||
{
|
||||
endpoints.MapHub<WeatherHub>("/weather");
|
||||
endpoints.MapHub<PowerHub>("/power");
|
||||
endpoints.MapDefaultControllerRoute();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user