Improved the security of the connection between the app window and AI Studio (#1146)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-01 12:29:37 +01:00
1 parent 64dc621a7d
commit faae2951f7
26 files changed
+1056 -88

No files matched your search

@@ -5,7 +5,7 @@ namespace AIStudio.Components;
public partial class Changelog : MSGComponentBase
{
[Inject]
private HttpClient HttpClient { get; set; } = null!;
private WebRootFiles WebRootFiles { get; set; } = null!;
#region Overrides of ComponentBase
@@ -23,7 +23,6 @@ public partial class Changelog : MSGComponentBase
private async Task ReadLogAsync()
{
using var response = await this.HttpClient.GetAsync($"changelog/{this.SelectedLog.Filename}");
this.LogContent = await response.Content.ReadAsStringAsync();
this.LogContent = await this.WebRootFiles.ReadTextAsync($"changelog/{this.SelectedLog.Filename}");
}
}