From 6e713d679227605a0744e28606ee28eb4841556f Mon Sep 17 00:00:00 2001 From: Erich Barnstedt Date: Sun, 16 Apr 2023 13:41:43 +0200 Subject: [PATCH] Fix MQTT topics and logo. --- Controllers/DashboardController.cs | 6 +++--- UACloudDashboard.csproj | 2 +- Views/Dashboard/Index.cshtml | 2 +- wwwroot/{Logo+eslogan.jpg => Logoeslogan.jpg} | Bin 4 files changed, 5 insertions(+), 5 deletions(-) rename wwwroot/{Logo+eslogan.jpg => Logoeslogan.jpg} (100%) diff --git a/Controllers/DashboardController.cs b/Controllers/DashboardController.cs index 54ac3b0..bcc96a9 100644 --- a/Controllers/DashboardController.cs +++ b/Controllers/DashboardController.cs @@ -126,7 +126,7 @@ public IActionResult Display() if (key.Contains("Byonoy")) { - Environment.SetEnvironmentVariable("TOPIC", "Byonoy/#"); + Environment.SetEnvironmentVariable("TOPIC", "byonoy/#"); break; } @@ -168,7 +168,7 @@ public IActionResult Display() if (key.Contains("Spectaris")) { - Environment.SetEnvironmentVariable("TOPIC", "Spectaris/#"); + Environment.SetEnvironmentVariable("TOPIC", "SPECTARIS/#"); break; } @@ -222,7 +222,7 @@ public IActionResult Display() if (key.Contains("Berthold")) { - Environment.SetEnvironmentVariable("TOPIC", "Berthold/#"); + Environment.SetEnvironmentVariable("TOPIC", "berthold/#"); break; } } diff --git a/UACloudDashboard.csproj b/UACloudDashboard.csproj index e993b2d..86ad43e 100644 --- a/UACloudDashboard.csproj +++ b/UACloudDashboard.csproj @@ -87,7 +87,7 @@ PreserveNewest - + PreserveNewest diff --git a/Views/Dashboard/Index.cshtml b/Views/Dashboard/Index.cshtml index 21e365f..7e0d9fa 100644 --- a/Views/Dashboard/Index.cshtml +++ b/Views/Dashboard/Index.cshtml @@ -110,7 +110,7 @@ - + diff --git a/wwwroot/Logo+eslogan.jpg b/wwwroot/Logoeslogan.jpg similarity index 100% rename from wwwroot/Logo+eslogan.jpg rename to wwwroot/Logoeslogan.jpg