Removal of download links due to maintenance burden
1 files changed, 0 insertions, 24 deletions
diff --git a/MatrixRoomUtils.Web/Pages/About.razor b/MatrixRoomUtils.Web/Pages/About.razor
index 59368af..18d7c3f 100644
--- a/MatrixRoomUtils.Web/Pages/About.razor
+++ b/MatrixRoomUtils.Web/Pages/About.razor
@@ -1,7 +1,4 @@
@page "/About"
-@using System.Net
-@inject NavigationManager NavigationManager
-@inject ILocalStorageService LocalStorage
<PageTitle>About</PageTitle>
@@ -13,24 +10,3 @@
<br/><br/>
<p>You can find the source code on <a href="https://cgit.rory.gay/matrix/MatrixRoomUtils.git/">cgit.rory.gay</a>.<br/></p>
<p>You can also join the <a href="https://matrix.to/#/%23mru%3Arory.gay?via=rory.gay&via=matrix.org&via=feline.support">Matrix room</a> for this project.</p>
-@if (BinDownloadAvailable) {
- <p>This deployment also serves a copy of the compiled, hosting-ready binaries at <a href="/MRU-BIN.tar.xz">/MRU-BIN.tar.xz</a>!</p>
-}
-@if (SrcDownloadAvailable) {
- <p>This deployment also serves a copy of the source code at <a href="/MRU-SRC.tar.xz">/MRU-SRC.tar.xz</a>!</p>
-}
-
-@code {
- private bool BinDownloadAvailable { get; set; }
- private bool SrcDownloadAvailable { get; set; }
-
- protected override async Task OnInitializedAsync() {
- using var hc = new HttpClient();
- var hr = await hc.SendAsync(new HttpRequestMessage(HttpMethod.Head, NavigationManager.ToAbsoluteUri("/MRU-BIN.tar.xz").AbsoluteUri));
- BinDownloadAvailable = hr.StatusCode == HttpStatusCode.OK;
- hr = await hc.SendAsync(new HttpRequestMessage(HttpMethod.Head, NavigationManager.ToAbsoluteUri("/MRU-SRC.tar.xz").AbsoluteUri));
- SrcDownloadAvailable = hr.StatusCode == HttpStatusCode.OK;
- await base.OnInitializedAsync();
- }
-
-}
|