diff --git a/Hub/Service/Startup.cs b/Hub/Service/Startup.cs index 8a7ff88..3fc4fe5 100644 --- a/Hub/Service/Startup.cs +++ b/Hub/Service/Startup.cs @@ -27,7 +27,7 @@ namespace ChrisKaczor.HomeMonitor.Hub.Service applicationBuilder.UseEndpoints(endpoints => { - endpoints.MapHub("/weatherHub"); + endpoints.MapHub("/weather"); endpoints.MapDefaultControllerRoute(); }); } diff --git a/Weather/Service/appsettings.json b/Weather/Service/appsettings.json index f6be04a..4ad3651 100644 --- a/Weather/Service/appsettings.json +++ b/Weather/Service/appsettings.json @@ -13,6 +13,6 @@ } }, "Hub": { - "Weather": "http://hub-server/weatherHub" + "Weather": "http://hub-server/weather" } } \ No newline at end of file diff --git a/Weather/Service/deploy/manifest.yaml b/Weather/Service/deploy/manifest.yaml index e500e06..415ae9d 100644 --- a/Weather/Service/deploy/manifest.yaml +++ b/Weather/Service/deploy/manifest.yaml @@ -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