Skip to content

Commit

Permalink
Fix MQTT topics and logo.
Browse files Browse the repository at this point in the history
  • Loading branch information
barnstee committed Apr 16, 2023
1 parent d02e65d commit 6e713d6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Controllers/DashboardController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public IActionResult Display()

if (key.Contains("Byonoy"))
{
Environment.SetEnvironmentVariable("TOPIC", "Byonoy/#");
Environment.SetEnvironmentVariable("TOPIC", "byonoy/#");
break;
}

Expand Down Expand Up @@ -168,7 +168,7 @@ public IActionResult Display()

if (key.Contains("Spectaris"))
{
Environment.SetEnvironmentVariable("TOPIC", "Spectaris/#");
Environment.SetEnvironmentVariable("TOPIC", "SPECTARIS/#");
break;
}

Expand Down Expand Up @@ -222,7 +222,7 @@ public IActionResult Display()

if (key.Contains("Berthold"))
{
Environment.SetEnvironmentVariable("TOPIC", "Berthold/#");
Environment.SetEnvironmentVariable("TOPIC", "berthold/#");
break;
}
}
Expand Down
2 changes: 1 addition & 1 deletion UACloudDashboard.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<Content Update="wwwroot\lads.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Update="wwwroot\Logo+eslogan.jpg">
<Content Update="wwwroot\Logoeslogan.jpg">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Update="wwwroot\matrikon.png">
Expand Down
2 changes: 1 addition & 1 deletion Views/Dashboard/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</tr>
<tr>
<td style="width:300px;height:100px">
<img src="~/Logo+eslogan.jpg" width="150" />
<img src="~/Logoeslogan.jpg" width="150" />
<input type="submit" name="Alresa" value="Display">
</td>
<td style="width:300px;height:100px">
Expand Down
File renamed without changes

0 comments on commit 6e713d6

Please sign in to comment.