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