mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-18 01:25:38 -05:00
Update hub naming
This commit is contained in:
@@ -27,7 +27,7 @@ namespace ChrisKaczor.HomeMonitor.Hub.Service
|
||||
|
||||
applicationBuilder.UseEndpoints(endpoints =>
|
||||
{
|
||||
endpoints.MapHub<WeatherHub>("/weatherHub");
|
||||
endpoints.MapHub<WeatherHub>("/weather");
|
||||
endpoints.MapDefaultControllerRoute();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -13,6 +13,6 @@
|
||||
}
|
||||
},
|
||||
"Hub": {
|
||||
"Weather": "http://hub-server/weatherHub"
|
||||
"Weather": "http://hub-server/weather"
|
||||
}
|
||||
}
|
||||
@@ -117,7 +117,7 @@ spec:
|
||||
name: weather-database-credentials
|
||||
key: password
|
||||
- name: Hub__Weather
|
||||
value: http://hub-service/weatherHub
|
||||
value: http://hub-service/weather
|
||||
restartPolicy: Always
|
||||
terminationGracePeriodSeconds: 30
|
||||
dnsPolicy: ClusterFirst
|
||||
|
||||
Reference in New Issue
Block a user